drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when...
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Nov 2022 17:34:14 +0000 (12:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 15:31:31 +0000 (10:31 -0500)
This partially reverts 20543be93ca45968f344261c1a997177e51bd7e1.

Calling drm_connector_update_edid_property() in
amdgpu_connector_free_edid() causes a noticeable pause in
the system every 10 seconds on polled outputs so revert this
part of the change.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2257
Cc: Claudio Suarez <cssk@net-c.es>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c

index e1320ed..2ebbc63 100644 (file)
@@ -327,7 +327,6 @@ static void amdgpu_connector_free_edid(struct drm_connector *connector)
 
        kfree(amdgpu_connector->edid);
        amdgpu_connector->edid = NULL;
-       drm_connector_update_edid_property(connector, NULL);
 }
 
 static int amdgpu_connector_ddc_get_modes(struct drm_connector *connector)