]> 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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:30:19 +0000 (23:30 -0400)
commit2cc69a10d83180f3de9f5afe3a98e972b1453d4c
tree199b3a36f42356a2b85218c8e4cd75f2ee1d768f
parentd06af584be5a769d124b7302b32a033e9559761d
drm/amd/display: Return max resolution supported by DWB

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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_wb.c