mirror-linux/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
Makefile drm/amd/display: Restructure DMI quirks 2025-05-13 09:30:52 -04:00
amdgpu_dm.c drm/amd/display: Only enable common modes for eDP and LVDS 2025-09-25 15:47:55 -04:00
amdgpu_dm.h drm/amd/display: change dc stream color settings only in atomic commit 2025-09-23 10:36:15 -04:00
amdgpu_dm_color.c drm/amd/display: change dc stream color settings only in atomic commit 2025-09-23 10:36:15 -04:00
amdgpu_dm_crc.c drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_crc.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_crtc.c drm/amd/display: Add missing post flip calls 2025-09-23 10:26:19 -04:00
amdgpu_dm_crtc.h drm/amd/display: Disable replay and psr while VRR is enabled 2025-01-06 14:44:27 -05:00
amdgpu_dm_debugfs.c drm/amd/display: Add Replay residency in debugfs 2025-07-28 16:40:31 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_hdcp.c drm/amd/display: Enable DTM v3 on dGPUs with DCN 3.1+ 2025-09-23 10:27:24 -04:00
amdgpu_dm_hdcp.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_helpers.c drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq.c drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_mst_types.c drm/amd/display: Fix pbn_div Calculation Error 2025-09-05 17:38:41 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Fix pbn_div Calculation Error 2025-09-05 17:38:41 -04:00
amdgpu_dm_plane.c drm/amd/display: Use mpc.preblend flag to indicate preblend 2025-09-23 10:27:36 -04:00
amdgpu_dm_plane.h drm: Pass pixel_format+modifier to .get_format_info() 2025-07-16 19:59:59 +03:00
amdgpu_dm_pp_smu.c drm/amd/display: Add pixel_clock to amd_pp_display_configuration 2025-09-15 16:52:41 -04:00
amdgpu_dm_psr.c drm/amd/display: Drop unused include 2025-07-28 16:40:30 -04:00
amdgpu_dm_psr.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_quirks.c drm/amd/display: Restructure DMI quirks 2025-05-13 09:30:52 -04:00
amdgpu_dm_replay.c drm/amd/display: Rename header file link.h to link_service.h 2025-09-15 16:57:29 -04:00
amdgpu_dm_replay.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_services.c drm/amd/display: Refactor SMU tracing 2025-09-23 10:31:51 -04:00
amdgpu_dm_trace.h drm/amd/display: Add missing SPDX license identifier 2025-07-28 16:40:30 -04:00
amdgpu_dm_wb.c drm/amd/display: Adjust all dev_*() messages to drm_*() 2025-04-07 18:01:07 -04:00
amdgpu_dm_wb.h
dc_fpu.c
dc_fpu.h