summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixelBot AutoMerger <android-nexus-securitybot@system.gserviceaccount.com>2023-04-09 18:24:53 -0700
committerSecurityBot <android-nexus-securitybot@system.gserviceaccount.com>2023-04-09 18:24:53 -0700
commitd8df397caa8dae458675cb0698457ce2001980a3 (patch)
treea8901105b9102b3944cd24ceae2082289bf19ca3
parent1b6b6af0a87be80659f1f4cfcb03479681c48c95 (diff)
parentb2b476d5a5a6fd97663b5e98d255c661a6ed1f07 (diff)
downloaddisplay-d8df397caa8dae458675cb0698457ce2001980a3.tar.gz
Merge android13-gs-pixel-5.10-tm-qpr3 into android13-gs-pixel-5.10-udc
SBMerger: 516612970 Change-Id: Ic325879d956ee882d8e978604aa6f05627ae0660 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
-rw-r--r--samsung/exynos_drm_dsim.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/samsung/exynos_drm_dsim.c b/samsung/exynos_drm_dsim.c
index 7ce6ce0..d95fbc3 100644
--- a/samsung/exynos_drm_dsim.c
+++ b/samsung/exynos_drm_dsim.c
@@ -528,7 +528,10 @@ static void dsim_encoder_disable(struct drm_encoder *encoder, struct drm_atomic_
pm_runtime_put_sync(dsim->dev);
}
} else {
- if (was_in_self_refresh) {
+ if (dsim->state == DSIM_STATE_BYPASS) {
+ pm_runtime_set_suspended(dsim->dev);
+ dsim->state = DSIM_STATE_SUSPEND;
+ } else if (was_in_self_refresh) {
/* get extra ref count dropped when going into self refresh */
pm_runtime_get_sync(dsim->dev);