]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Use scaling for non-native resolutions on LVDS
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Jul 2025 20:13:17 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Jul 2025 17:48:47 +0000 (13:48 -0400)
commitdf2719088b6a8084960ed6e2ddc7066ffc5b558d
treebac6cdb945faf4c2b3198313fafdb6a39e7a0146
parent6d396e7ac1ce36079147933aa77ea977b03a8a9d
drm/amd/display: Use scaling for non-native resolutions on LVDS

[Why]
Common resolutions are added to supported modes to enable compatibility
scenarios that compositors may use to do things like clone displays. There
is no guarantee however that the panel will natively support these modes.

[How]
If the compositor hasn't enabled scaling but a non-native resolution has
been picked for an LVDS panel turn the scaler on anyway.  This will ensure
compatibility.

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