Skip to content

Commit 1d4607f

Browse files
Hersen Wugregkh
authored andcommitted
Revert "drm/amd/display: edp do not add non-edid timings"
commit d614908 upstream. This change causes regression when eDP and external display in mirror mode. When external display supports low resolution than eDP, use eDP timing to driver external display may cause corruption on external display. This reverts commit e749dd1. Cc: [email protected] Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2655 Signed-off-by: Hersen Wu <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2f2ba3c commit 1d4607f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6988,13 +6988,7 @@ static int amdgpu_dm_connector_get_modes(struct drm_connector *connector)
69886988
drm_add_modes_noedid(connector, 640, 480);
69896989
} else {
69906990
amdgpu_dm_connector_ddc_get_modes(connector, edid);
6991-
/* most eDP supports only timings from its edid,
6992-
* usually only detailed timings are available
6993-
* from eDP edid. timings which are not from edid
6994-
* may damage eDP
6995-
*/
6996-
if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
6997-
amdgpu_dm_connector_add_common_modes(encoder, connector);
6991+
amdgpu_dm_connector_add_common_modes(encoder, connector);
69986992
amdgpu_dm_connector_add_freesync_modes(connector, edid);
69996993
}
70006994
amdgpu_dm_fbc_init(connector);

0 commit comments

Comments
 (0)