summaryrefslogtreecommitdiffstats
path: root/sdm/libs/core/display_hdmi.h
diff options
context:
space:
mode:
authorSaurabh Shah <saurshah@codeaurora.org>2015-06-30 17:47:29 -0700
committerSaurabh Shah <saurshah@codeaurora.org>2015-08-05 11:47:16 -0700
commitc13deb2bb6e80ca93fbeb5cef47b01a0f908b7a7 (patch)
treee5d94c2f77324504fde69b98b7d12ef942ba8f85 /sdm/libs/core/display_hdmi.h
parent4e731e93c86fdcd7d83a0ee7c4771d725b12c3c9 (diff)
downloadandroid_hardware_qcom_sdm845_display-c13deb2bb6e80ca93fbeb5cef47b01a0f908b7a7.tar.gz
android_hardware_qcom_sdm845_display-c13deb2bb6e80ca93fbeb5cef47b01a0f908b7a7.tar.bz2
android_hardware_qcom_sdm845_display-c13deb2bb6e80ca93fbeb5cef47b01a0f908b7a7.zip
sdm: Add support for panel resolution switch
Add support for panel resolution switch. This feature makes use of the Linux modedb feature that lists available modes in /sys/class/graphics/fb0/modes and accepts a mode change when written to /sys/class/graphics/fb0/mode Clients can link to APIs exposed in display_config.h, these internally resolve to binder calls into HWC. For debugging, mode changes can be made over binder using shell commands. adb shell service call display.qservice CODE ARGS ARGS can include config index and display (only primary supported) setActiveConfig(): adb shell service call display.qservice 25 i32 INDEX i32 0 getActiveConfig(): adb shell service call display.qservice 26 i32 0 getConfigCount(): adb shell service call display.qservice 27 i32 0 getDisplayAttributes(): adb shell service call display.qservice 28 i32 INDEX i32 0 CRs-fixed: 873962 Change-Id: I32b6e2906174a50d655bb50081b6c0d8e2b273cb
Diffstat (limited to 'sdm/libs/core/display_hdmi.h')
-rw-r--r--sdm/libs/core/display_hdmi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sdm/libs/core/display_hdmi.h b/sdm/libs/core/display_hdmi.h
index d3ff97b9..b6f41164 100644
--- a/sdm/libs/core/display_hdmi.h
+++ b/sdm/libs/core/display_hdmi.h
@@ -44,7 +44,6 @@ class DisplayHDMI : public DisplayBase, DumpImpl {
virtual DisplayError Flush();
virtual DisplayError GetDisplayState(DisplayState *state);
virtual DisplayError GetNumVariableInfoConfigs(uint32_t *count);
- virtual DisplayError GetConfig(DisplayConfigFixedInfo *fixed_info);
virtual DisplayError GetConfig(uint32_t index, DisplayConfigVariableInfo *variable_info);
virtual DisplayError GetActiveConfig(uint32_t *index);
virtual DisplayError GetVSyncState(bool *enabled);