]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Assign disp_cfg_index_max when dml21
authorAlex Hung <alex.hung@amd.com>
Thu, 2 May 2024 16:30:12 +0000 (10:30 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 May 2024 13:06:12 +0000 (09:06 -0400)
commitb3f4ee8e4a168b78a3ca8341e18a50c620ed7344
treec85a1490e97d5ee1c720568e71ba93d728e7a586
parent6cd2b872643bb29bba01a8ac739138db7bd79007
drm/amd/display: Assign disp_cfg_index_max when dml21

[WHY & HOW]
The assignment of disp_cfg_index_max is missed and should be
assigned to __DML2_WRAPPER_MAX_STREAMS_PLANES__.

Fixes: 55ec7679e6a5 ("drm/amd/display: Limit array index according to architecture")
Reviewed-by: Hersen Wu <hersenxs.wu@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/dc/dml2/dml2_dc_resource_mgmt.c