drm/ast: Trivial EDID fixes
Subsystems (3)
Thomas Zimmermann
maintainercover drm/ast: Trivial EDID fixes
After unplugging a display from the connector, the driver has to clear the connector's EDID property. Recent code for BMC support forget to do this for VGA- and SIL164-based transmitters. Fix it.
Thomas Zimmermann (2):
drm/ast: sil164: Clear EDID if no display is connected drm/ast: vga: Clear EDID if no display is connected
drivers/gpu/drm/ast/ast_sil164.c | 2 ++ drivers/gpu/drm/ast/ast_vga.c | 2 ++ 2 files changed, 4 insertions(+)
Signature · 1 line
2.46.0
Thomas Zimmermann
maintainerPATCH 1/2 drm/ast: sil164: Clear EDID if no display is connected
Do not keep the obsolete EDID around after unplugging the display from the connector.
--- drivers/gpu/drm/ast/ast_sil164.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_sil164.c +2 -0
@@ -29,6 +29,8 @@ static int ast_sil164_connector_helper_get_modes(struct drm_connector *connectorif (ast_connector->physical_status == connector_status_connected) { count =drm_connector_helper_get_modes (connector); }else { +drm_edid_connector_update (connector,NULL ); +/* * There's no EDID data without a connected monitor. Set BMC- * compatible modes in this case. The XGA default resolution
Signature · 1 line
2.46.0
Re: [PATCH 1/2] drm/ast: sil164: Clear EDID if no display is connected
Quoted 2 lines · Thomas Zimmermann
Do not keep the obsolete EDID around after unplugging the display from the connector.
Thanks, it looks good to me.
Quoted 24 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes d20c2f846428 ("drm/ast: sil164: Transparently handle BMC support")Cc Thomas Zimmermann <[email protected]>Cc Jocelyn Falempe <[email protected]>Cc Dave Airlie <[email protected]>--- drivers/gpu/drm/ast/ast_sil164.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/ast/ast_sil164.c +2
-0@@ -29,6 +29,8 @@ static int ast_sil164_connector_helper_get_modes(struct drm_connector *connectorif (ast_connector->physical_status == connector_status_connected) { count =drm_connector_helper_get_modes (connector); }else { +drm_edid_connector_update (connector,NULL ); +/* * There's no EDID data without a connected monitor. Set BMC- * compatible modes in this case. The XGA default resolution
Thomas Zimmermann
maintainerPATCH 2/2 drm/ast: vga: Clear EDID if no display is connected
In reply to Thomas ZimmermannDo not keep the obsolete EDID around after unplugging the display from the connector.
--- drivers/gpu/drm/ast/ast_vga.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/ast/ast_vga.c +2 -0
@@ -29,6 +29,8 @@ static int ast_vga_connector_helper_get_modes(struct drm_connector *connector)if (ast_connector->physical_status == connector_status_connected) { count =drm_connector_helper_get_modes (connector); }else { +drm_edid_connector_update (connector,NULL ); +/* * There's no EDID data without a connected monitor. Set BMC- * compatible modes in this case. The XGA default resolution
Signature · 1 line
2.46.0
Re: [PATCH 2/2] drm/ast: vga: Clear EDID if no display is connected
Quoted 2 lines · Thomas Zimmermann
Do not keep the obsolete EDID around after unplugging the display from the connector.
Thanks, it looks good to me.
Quoted 24 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes 2a2391f857cd ("drm/ast: vga: Transparently handle BMC support")Cc Thomas Zimmermann <[email protected]>Cc Jocelyn Falempe <[email protected]>Cc Dave Airlie <[email protected]>--- drivers/gpu/drm/ast/ast_vga.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/ast/ast_vga.c +2
-0@@ -29,6 +29,8 @@ static int ast_vga_connector_helper_get_modes(struct drm_connector *connector)if (ast_connector->physical_status == connector_status_connected) { count =drm_connector_helper_get_modes (connector); }else { +drm_edid_connector_update (connector,NULL ); +/* * There's no EDID data without a connected monitor. Set BMC- * compatible modes in this case. The XGA default resolution