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 02:14:47 +0000 (22:14 -0400)
commitaf1c41858da107eba7e0cf7b23b08c1957014d70
tree4a908f93fc0e7918b61a88e3d842d6fd1c76fa85
parent0d38f6009e4e4e511fb5c3c673d54bf0c242c4b7
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