diff options
author | davidycchen <davidycchen@google.com> | 2021-09-22 15:54:21 +0800 |
---|---|---|
committer | davidycchen <davidycchen@google.com> | 2021-09-30 14:26:24 +0800 |
commit | 8dbeaa2288f4b3dcf8ed4a28a56eab5aed82dfa6 (patch) | |
tree | d00360c78e4f8baf7c2bd426e3c2e173796ef861 /syna_tcm2.h | |
parent | b1dd3f807cf4d1fe152ee09cca0f08b910c65248 (diff) | |
download | synaptics_touch-8dbeaa2288f4b3dcf8ed4a28a56eab5aed82dfa6.tar.gz |
synaptics: use drm_bridge for touch power sequence
Listen to display states by drm_bridge for touch suspend/resume.
Bug: 199104450
Bug: 201375583
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ie88153c7b53971bb2441b6c01cca17ea9bb12dc0
Diffstat (limited to 'syna_tcm2.h')
-rw-r--r-- | syna_tcm2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/syna_tcm2.h b/syna_tcm2.h index ba3a5bd..55fba69 100644 --- a/syna_tcm2.h +++ b/syna_tcm2.h @@ -324,6 +324,12 @@ struct syna_tcm { struct notifier_block fb_notifier; #endif +#if defined(USE_DRM_BRIDGE) + struct drm_bridge panel_bridge; + struct drm_connector *connector; + bool is_panel_lp_mode; +#endif + /* fifo to pass the report to userspace */ unsigned int fifo_remaining_frame; struct list_head frame_fifo_queue; |