summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRay Zhang <rayz@codeaurora.org>2017-01-06 16:25:15 +0800
committerzhaoyuan <yzhao@codeaurora.org>2017-03-24 17:46:58 +0800
commitd679cf981bd35f67b38d82e03507e2c869d14842 (patch)
tree63922943fed4a5b28a5a1f12b34f5f2d065eca00 /include/linux
parent687a4eb82be5905f5400678dcaff4e98dad72e3c (diff)
msm: mdss: make hpd call asynchronous for HDMI in certain cases
In some cases the hpd call cannot be blocked. For example, in case of framework restart, both display and audio HALs are not available, so nobody will notify and unblock hpd call. Another case is continuous splash in which unblank is delayed till the first display kickoff, so hpd cannot blocking wait for such a late notification. Change-Id: I6ed58c3ac35efdaeac2e73d36d78b7fd64a74f42 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_ext_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/msm_ext_display.h b/include/linux/msm_ext_display.h
index d9831d7cbb4e..fc53e861eba4 100644
--- a/include/linux/msm_ext_display.h
+++ b/include/linux/msm_ext_display.h
@@ -26,9 +26,13 @@
* interface:
* MSM_EXT_DISP_HPD_AUDIO: audio will be routed to external display
* MSM_EXT_DISP_HPD_VIDEO: video will be routed to external display
+ * MSM_EXT_DISP_HPD_ASYNC_AUDIO: don't wait audio notification once wake it up
+ * MSM_EXT_DISP_HPD_ASYNC_VIDEO: don't wait video notification once wake it up
*/
#define MSM_EXT_DISP_HPD_AUDIO BIT(0)
#define MSM_EXT_DISP_HPD_VIDEO BIT(1)
+#define MSM_EXT_DISP_HPD_ASYNC_AUDIO BIT(2)
+#define MSM_EXT_DISP_HPD_ASYNC_VIDEO BIT(3)
/**
* struct ext_disp_cable_notify - cable notify handler structure