build/patch/kernel/archive/sunxi-5.15/patches.megous/Report-HDMI-hotplug-events.patch

36 lines
1.2 KiB
Diff

From fce22d95db16c52c666add6f851736b4787ff087 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Wed, 16 Jun 2021 22:51:29 +0200
Subject: [PATCH 329/478] Report HDMI hotplug events
Signed-off-by: Ondrej Jirman <megous@megous.com>
---
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 f08d0fded61f..93fbccf47bb8 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -2340,7 +2340,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;
@@ -3018,7 +3018,7 @@ static irqreturn_t dw_hdmi_irq(int irq, void *dev_id)
}
if (status != connector_status_unknown) {
- dev_dbg(hdmi->dev, "EVENT=%s\n",
+ dev_info(hdmi->dev, "EVENT=%s\n",
status == connector_status_connected ?
"plugin" : "plugout");
--
2.35.3