drm/amd/display: Update MBLK calculation for SubVP
authorAlvin Lee <Alvin.Lee2@amd.com>
Tue, 23 Aug 2022 21:14:03 +0000 (17:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:26:59 +0000 (14:26 -0400)
commit58d97c99c99f4559072a5410ec0135271e24e95d
tree23278f6643b570959ccf22ee8a4c0986afd22362
parent42ff33e63b83d0fd40985ccbb50ff54e320a3bd5
drm/amd/display: Update MBLK calculation for SubVP

[Description]
Update MBLK calculation according to hardware doc.  For DCC case we were
not allocation enough MALL due to an inaccurate MBLK calculation.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c