linux/drivers/gpu/drm/amd
Mario Limonciello 0fb915d64d drm/amd/display: Only enable common modes for eDP and LVDS
[Why]
The main reason common modes are added is for compatibility with
clone mode when a laptop is connected to a projector or external
monitor.  Since commit 978fa2f6d0 ("drm/amd/display: Use scaling
for non-native resolutions on eDP") when non-native modes are picked
for eDP the GPU scalar will be used.  This is because it is inconsistent
whether eDP panels have the capability to actually drive non-native
resolutions. With panels connected to other connectors this limitation
generally doesn't exist as we the EDID will advertise support for a
number of resolutions and monitors will use built in scaling hardware.

Comparing DC and non-DC code paths the non-DC code path only adds
common modes for LVDS and eDP whereas the DC codepath does it for
all connector types.

In the past there was an experiment done to disable common mode adding
for eDP and LVDS from commit 6d396e7ac1 ("drm/amd/display: Disable
common modes for LVDS") and commit 7948afb46a ("drm/amd/display:
Disable common modes for eDP") but this was reverted in
commit a8b79b0918 ("drm/amd: Re-enable common modes for eDP and
LVDS") because it caused problems with Xorg.

[How]
Only add common modes for eDP and LVDS for DC, matching the behavior
of non-DC.

Suggested-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250924161624.1975819-2-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2025-09-25 15:47:55 -04:00
..
acp
amdgpu drm/amdgpu: remove the redeclaration of variable i 2025-09-25 15:46:35 -04:00
amdkfd drm/amdgpu: use hmm_pfns instead of array of pages 2025-09-23 10:22:31 -04:00
amdxcp drm/amd/amdgpu: Release xcp drm memory after unplug 2025-08-04 14:35:48 -04:00
display drm/amd/display: Only enable common modes for eDP and LVDS 2025-09-25 15:47:55 -04:00
include drm/amdgpu: Enable MES lr_compute_wa by default 2025-09-23 10:22:38 -04:00
pm drm/amd/pm: Add VCN reset message support for SMU v13.0.12 2025-09-23 10:41:41 -04:00
ras/rascore drm/amd/ras: Add rascore status definition 2025-09-23 10:36:02 -04:00