diff options
author | Tatenda Chipeperekwa <tatendac@codeaurora.org> | 2016-04-15 13:12:28 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-04-20 23:41:58 -0700 |
commit | 38e9e79bf6507c9543d152d03c4ff751e81c0b84 (patch) | |
tree | 3b6227fab8de2fd249107802039cc6815e51cf25 /sdm/libs/core/display_hdmi.h | |
parent | b37a9b85e18eba690f69826feb47634fec93b122 (diff) | |
download | android_hardware_qcom_sdm845_display-38e9e79bf6507c9543d152d03c4ff751e81c0b84.tar.gz android_hardware_qcom_sdm845_display-38e9e79bf6507c9543d152d03c4ff751e81c0b84.tar.bz2 android_hardware_qcom_sdm845_display-38e9e79bf6507c9543d152d03c4ff751e81c0b84.zip |
sdm: HDMI as primary and headless display support
Add support for a NULL display that closes all fences and allows
SurfaceFlinger to work without a display connected.
Also add support for ability to connect/disconnect and suspend/resume
HDMI primary display by using NULL display.
CRs-Fixed: 814136
Change-Id: I6ec1149de2a6e5e34aeae0a10e9bc226edd4aa04
Diffstat (limited to 'sdm/libs/core/display_hdmi.h')
-rw-r--r-- | sdm/libs/core/display_hdmi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sdm/libs/core/display_hdmi.h b/sdm/libs/core/display_hdmi.h index 15a00190..88e553d1 100644 --- a/sdm/libs/core/display_hdmi.h +++ b/sdm/libs/core/display_hdmi.h @@ -67,7 +67,7 @@ class DisplayHDMI : public DisplayBase, DumpImpl, HWEventHandler { virtual DisplayError SetCursorPosition(int x, int y); // Implement the HWEventHandlers - virtual DisplayError VSync(int64_t timestamp) { return kErrorNone; } + virtual DisplayError VSync(int64_t timestamp); virtual DisplayError Blank(bool blank) { return kErrorNone; } virtual void IdleTimeout() { } virtual void ThermalEvent(int64_t thermal_level) { } @@ -81,7 +81,8 @@ class DisplayHDMI : public DisplayBase, DumpImpl, HWEventHandler { Locker locker_; HWScanSupport scan_support_; std::map<LayerBufferS3DFormat, HWS3DMode> s3d_format_to_mode_; - std::vector<const char *> event_list_ = {"cec/rd_msg", "thread_exit"}; + std::vector<const char *> event_list_ = {"vsync_event", "idle_notify", "cec/rd_msg", + "thread_exit"}; }; } // namespace sdm |