build/patch/kernel/archive/sunxi-6.5/patches.megous/drm-bridge-dw-hdmi-Report-HDMI-hotplug-events.patch

36 lines
1.3 KiB
Diff
Raw Normal View History

From 6ddb3bed9058215a6fc6f5854e50e04cbc9a58b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
Date: Wed, 16 Jun 2021 22:51:29 +0200
Subject: [PATCH 217/464] drm: bridge: dw-hdmi: Report HDMI hotplug events
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 40ddabecff7c..d13929707182 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -2475,7 +2475,7 @@ static enum drm_connector_status dw_hdmi_detect(struct dw_hdmi *hdmi)
mutex_lock(&hdmi->mutex);
if (result != hdmi->last_connector_result) {
- dev_dbg(hdmi->dev, "read_hpd result: %d", result);
+ dev_info(hdmi->dev, "read_hpd result: %d", result);
handle_plugged_change(hdmi,
result == connector_status_connected);
hdmi->last_connector_result = result;
@@ -3153,7 +3153,7 @@ static irqreturn_t dw_hdmi_irq(int irq, void *dev_id)
}
if (status != connector_status_unknown && !hdmi->extcon) {
- dev_dbg(hdmi->dev, "EVENT=%s\n",
+ dev_info(hdmi->dev, "EVENT=%s\n",
status == connector_status_connected ?
"plugin" : "plugout");
--
2.34.1