28 lines
943 B
Diff
28 lines
943 B
Diff
From 1a4c76961ba0626816888f637b2dd7e1c9d3c0f8 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Sat, 20 Nov 2021 14:35:52 +0100
|
|
Subject: [PATCH 304/391] drm: rockchip: cdn-dp: Disable CDN DP on disconnect
|
|
|
|
Why not?
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
drivers/gpu/drm/rockchip/cdn-dp-core.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
|
index 8526dda91..78c5a6162 100644
|
|
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
|
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
|
@@ -969,6 +969,7 @@ static void cdn_dp_pd_event_work(struct work_struct *work)
|
|
DRM_DEV_INFO(dp->dev, "Not connected. Disabling cdn\n");
|
|
dp->connected = false;
|
|
|
|
+ cdn_dp_disable(dp);
|
|
/* Connected but not enabled, enable the block */
|
|
} else if (!dp->active) {
|
|
DRM_DEV_INFO(dp->dev, "Connected, not enabled. Enabling cdn\n");
|
|
--
|
|
2.35.3
|
|
|