]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Disable common modes for LVDS
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Jul 2025 20:09:19 +0000 (16:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 17:48:36 +0000 (13:48 -0400)
commit6d396e7ac1ce36079147933aa77ea977b03a8a9d
tree84405074669d7fee42c17127c9b24531de2daa90
parent0c3c2e334c4fd00ed7a8ddb9c163a8c1138af1f1
drm/amd/display: Disable common modes for LVDS

[Why]
Common modes are added to LVDS for compatibility in clone mode, but
not all panels support them.  Non-native modes were disabled in the past
but this caused problems because compositors didn't use scaling for non
native modes. Now non-native modes on LVDS will enable the scaler by
default.

[How]
Check the connector type.  If the connector is LVDS avoid adding common
modes.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c