]> git.baikalelectronics.ru Git - kernel.git/commit
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:32:59 +0000 (14:32 -0400)
commitaf0f8ed41ba2c3514a3d95461a3d4279c07ce837
treed0db96160f6df8010afd0031dda4c283b80bcc09
parent953aa08092065a7c698e20c9c32dfe3999e57470
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