diff options
author | 2024-10-15 08:49:06 +0200 | |
---|---|---|
committer | 2024-10-17 08:50:14 +0200 | |
commit | 5b3c0209e88a67a8d029ed8b6e30bca383cbdc55 (patch) | |
tree | 36ac95ff51d535ea5a0e1f07eb7e222a675b1bc4 | |
parent | Revert "drm/mgag200: Add vblank support" (diff) | |
download | linux-rng-5b3c0209e88a67a8d029ed8b6e30bca383cbdc55.tar.xz linux-rng-5b3c0209e88a67a8d029ed8b6e30bca383cbdc55.zip |
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 <tzimmermann@suse.de>
Fixes: d20c2f846428 ("drm/ast: sil164: Transparently handle BMC support")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241015065113.11790-2-tzimmermann@suse.de
-rw-r--r-- | drivers/gpu/drm/ast/ast_sil164.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_sil164.c b/drivers/gpu/drm/ast/ast_sil164.c index 496c7120e515..c231389936bd 100644 --- a/drivers/gpu/drm/ast/ast_sil164.c +++ b/drivers/gpu/drm/ast/ast_sil164.c @@ -29,6 +29,8 @@ static int ast_sil164_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 |