]> git.itanic.dy.fi Git - linux-stable/commit
drm/amd/display: Return max resolution supported by DWB
authorAlex Hung <alex.hung@amd.com>
Sat, 23 Mar 2024 18:02:54 +0000 (12:02 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:23:42 +0000 (11:23 +0200)
commit411ec82daee8f94b09bdf5b0f7efae0f956bab96
tree21f0c3113478f39c789e91c610b2a779f20c8201
parent379bf98e29c65958500c1a067a40822c684704f3
drm/amd/display: Return max resolution supported by DWB

commit 2cc69a10d83180f3de9f5afe3a98e972b1453d4c upstream.

mode_config's max width x height is 4096x2160 and is higher than DWB's
max resolution 3840x2160 which is returned instead.

Cc: stable@vger.kernel.org
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c