28 lines
949 B
Diff
28 lines
949 B
Diff
|
From c6e82061bfcdca800c764b9a69eefd9ee9e72cc8 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 315/464] 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 b6afe3786b74..e73b8e82d366 100644
|
||
|
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
||
|
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
|
||
|
@@ -968,6 +968,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.34.1
|
||
|
|