]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Use scaling for non-native resolutions on eDP
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Jun 2025 04:14:51 +0000 (23:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:20 +0000 (12:19 -0400)
commit978fa2f6d0b12bb563c643884ab4047987548868
tree8ed730f69757bcdf3cfcb37b33a845e959372bef
parent9a1550b6f3430e6cdfb8aed14d218c481e33086f
drm/amd/display: Use scaling for non-native resolutions on eDP

[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 eDP panel turn the scaler on anyway.  This will ensure
compatibility.

Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c