diff options
author | Oleg Matcovschi <omatcovschi@google.com> | 2023-01-29 14:08:41 -0800 |
---|---|---|
committer | Oleg Matcovschi <omatcovschi@google.com> | 2023-01-30 14:44:02 -0800 |
commit | e93401fb68a8cf2e3c99c6b349274cf6aa7f0ffe (patch) | |
tree | 53f901cb96f1a823c0ad4ba0e502219a4e977b65 | |
parent | 141c308a5098bb97934f27be019566749037a343 (diff) | |
download | display-e93401fb68a8cf2e3c99c6b349274cf6aa7f0ffe.tar.gz |
drm: samsung: tui: skip blankmode transition for video mode panels
Temporarily skip blankmode transition into TUI to avoid powering off
external backlight components.
Bug: 207716612
Bug: 241837873
Change-Id: Ic0a9e059044326456e5c98c52b2bc03aeb339cb6
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
-rw-r--r-- | samsung/exynos_drm_drv.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/samsung/exynos_drm_drv.c b/samsung/exynos_drm_drv.c index 081406d..a77754a 100644 --- a/samsung/exynos_drm_drv.c +++ b/samsung/exynos_drm_drv.c @@ -748,6 +748,17 @@ int exynos_atomic_enter_tui(void) struct exynos_drm_connector_state *exynos_conn_state = to_exynos_connector_state(conn_state); + /* + * TODO: revert on completion of b/241837873 + * avoid blanked mode for panels with video operation + * mode + */ + if (conn_state->crtc) { + decon = crtc_to_decon(conn_state->crtc); + if (decon->config.mode.op_mode == DECON_VIDEO_MODE) + continue; + } + exynos_conn_state->blanked_mode = true; } } |