Skip to content

Commit d614908

Browse files
Hersen Wualexdeucher
authored andcommitted
Revert "drm/amd/display: edp do not add non-edid timings"
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]>
1 parent 150c213 commit d614908

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
@@ -7253,13 +7253,7 @@ static int amdgpu_dm_connector_get_modes(struct drm_connector *connector)
72537253
drm_add_modes_noedid(connector, 1920, 1080);
72547254
} else {
72557255
amdgpu_dm_connector_ddc_get_modes(connector, edid);
7256-
/* most eDP supports only timings from its edid,
7257-
* usually only detailed timings are available
7258-
* from eDP edid. timings which are not from edid
7259-
* may damage eDP
7260-
*/
7261-
if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
7262-
amdgpu_dm_connector_add_common_modes(encoder, connector);
7256+
amdgpu_dm_connector_add_common_modes(encoder, connector);
72637257
amdgpu_dm_connector_add_freesync_modes(connector, edid);
72647258
}
72657259
amdgpu_dm_fbc_init(connector);

0 commit comments

Comments
 (0)