drm/amd/display: set dram speed for all states
authorDillon Varone <dillon.varone@amd.com>
Mon, 18 Apr 2022 18:39:20 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:00 +0000 (16:45 -0400)
commitbe77243327d962a87bcf03615bae12d73efb9b7c
tree09a80c472aff626b9e24be942bb0940e609fff4d
parent1d6c363330834fa534c1c7ee01620ff134aade1f
drm/amd/display: set dram speed for all states

[WHY?]
If higher states have memory speed set to 0 MT/s currently they do not get set
to the highest value which can cause validation failures.

[HOW?]
Set unpopulated higher states to max value.

Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c