drm/amd/display: Add check for PState change in DCN32
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 6 Apr 2023 20:19:16 +0000 (16:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Apr 2023 12:50:20 +0000 (08:50 -0400)
commit974ce18160bb16c8addf6889fff977564404b87b
tree4e19a85ceeb4c2c6395a5841b9a0f90d237d7a1e
parenta1f1fecd04f0b9ef600898c7f9b2094504127fd7
drm/amd/display: Add check for PState change in DCN32

For pstate change, allow DML to loop through
all possible prefetch combinations so as to
support more display configurations. Set the max
and min prefetch modes to enable the sequence.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c