summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
authorSaurabh Shah <saurshah@codeaurora.org>2014-11-11 13:54:19 -0800
committerSaurabh Shah <saurshah@codeaurora.org>2014-11-11 13:54:19 -0800
commitcd018359974f9bfd616d3d8a65e31b9024d6c8b0 (patch)
treef0165c61224527765e61eb873c9b32d894df0225 /libqservice
parenta48f02d0ab5f9a97ce603e8b8f83f6fbd691569a (diff)
downloaddisplay-cd018359974f9bfd616d3d8a65e31b9024d6c8b0.tar.gz
hwc/qservice: Add support for toggling bwc over binder
Remove support for toggling BWC via property and add support to toggle BWC over binder. This will take effect only on targets where the driver enables BWC. Example to disable BWC: adb shell service call display.qservice 17 i32 0 Where 17 is the code to toggle BWC, 0 to disable. Change-Id: Ie534ab4643a72d47f5a985fe0b32e134bf0e7af3
Diffstat (limited to 'libqservice')
-rw-r--r--libqservice/IQService.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/libqservice/IQService.h b/libqservice/IQService.h
index 6f2f0e32..ea403349 100644
--- a/libqservice/IQService.h
+++ b/libqservice/IQService.h
@@ -39,21 +39,22 @@ public:
DECLARE_META_INTERFACE(QService);
enum {
COMMAND_LIST_START = android::IBinder::FIRST_CALL_TRANSACTION,
- SECURING, // Hardware securing start/end notification
- UNSECURING, // Hardware unsecuring start/end notification
- CONNECT, // Connect to qservice
- SCREEN_REFRESH, // Refresh screen through SF invalidate
- EXTERNAL_ORIENTATION, // Set external orientation
- BUFFER_MIRRORMODE, // Buffer mirrormode
- CHECK_EXTERNAL_STATUS, // Check status of external display
- GET_DISPLAY_ATTRIBUTES, // Get display attributes
- SET_HSIC_DATA, // Set HSIC on dspp
- GET_DISPLAY_VISIBLE_REGION, // Get the visibleRegion for dpy
- SET_SECONDARY_DISPLAY_STATUS, // Sets secondary display status
- SET_MAX_PIPES_PER_MIXER, // Set max pipes per mixer for MDPComp
- SET_VIEW_FRAME, // Set view frame of display
- DYNAMIC_DEBUG, // Enable more logging on the fly
- SET_IDLE_TIMEOUT, // Set idle timeout for GPU fallback
+ SECURING = 2, // Hardware securing start/end notification
+ UNSECURING = 3, // Hardware unsecuring start/end notification
+ CONNECT = 4, // Connect to qservice
+ SCREEN_REFRESH = 5, // Refresh screen through SF invalidate
+ EXTERNAL_ORIENTATION = 6,// Set external orientation
+ BUFFER_MIRRORMODE = 7, // Buffer mirrormode
+ CHECK_EXTERNAL_STATUS = 8,// Check status of external display
+ GET_DISPLAY_ATTRIBUTES = 9,// Get display attributes
+ SET_HSIC_DATA = 10, // Set HSIC on dspp
+ GET_DISPLAY_VISIBLE_REGION = 11,// Get the visibleRegion for dpy
+ SET_SECONDARY_DISPLAY_STATUS = 12,// Sets secondary display status
+ SET_MAX_PIPES_PER_MIXER = 13,// Set max pipes per mixer for MDPComp
+ SET_VIEW_FRAME = 14, // Set view frame of display
+ DYNAMIC_DEBUG = 15, // Enable more logging on the fly
+ SET_IDLE_TIMEOUT = 16, // Set idle timeout for GPU fallback
+ TOGGLE_BWC = 17, // Toggle BWC On/Off on targets that support
COMMAND_LIST_END = 400,
};