[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251020013039.1800-2-chuguangqing@inspur.com>
Date: Mon, 20 Oct 2025 09:30:39 +0800
From: Chu Guangqing <chuguangqing@...pur.com>
To: <alain.volmat@...s.st.com>, <rgallaispou@...il.com>,
<maarten.lankhorst@...ux.intel.com>, <mripard@...nel.org>,
<tzimmermann@...e.de>, <airlied@...il.com>, <simona@...ll.ch>
CC: <dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>, Chu
Guangqing <chuguangqing@...pur.com>
Subject: [PATCH v2 1/1] drm/sti: hdmi: call drm_edid_connector_update when edid is NULL
call drm_edid_connector_update to reset the information when edid is NULL.
We can see the following comments in drm_edid.c
If EDID is NULL, reset the information.
Signed-off-by: Chu Guangqing <chuguangqing@...pur.com>
---
drivers/gpu/drm/sti/sti_hdmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c
index 4e7c3d78b2b9..e0be1be8bcdd 100644
--- a/drivers/gpu/drm/sti/sti_hdmi.c
+++ b/drivers/gpu/drm/sti/sti_hdmi.c
@@ -1008,7 +1008,7 @@ static int sti_hdmi_connector_get_modes(struct drm_connector *connector)
return count;
fail:
- DRM_ERROR("Can't read HDMI EDID\n");
+ drm_edid_connector_update(connector, NULL);
return 0;
}
--
2.43.7
Powered by blists - more mailing lists