Skip to content

Commit 5b3c020

Browse files
author
Thomas Zimmermann
committed
drm/ast: sil164: Clear EDID if no display is connected
Do not keep the obsolete EDID around after unplugging the display from the connector. Signed-off-by: Thomas Zimmermann <[email protected]> Fixes: d20c2f8 ("drm/ast: sil164: Transparently handle BMC support") Cc: Thomas Zimmermann <[email protected]> Cc: Jocelyn Falempe <[email protected]> Cc: Dave Airlie <[email protected]> Cc: [email protected] Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent e5a3c24 commit 5b3c020

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/ast/ast_sil164.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ static int ast_sil164_connector_helper_get_modes(struct drm_connector *connector
2929
if (ast_connector->physical_status == connector_status_connected) {
3030
count = drm_connector_helper_get_modes(connector);
3131
} else {
32+
drm_edid_connector_update(connector, NULL);
33+
3234
/*
3335
* There's no EDID data without a connected monitor. Set BMC-
3436
* compatible modes in this case. The XGA default resolution

0 commit comments

Comments
 (0)