drm/amd/display: Use DCC meta pitch for MALL allocation requirements
authorDillon Varone <Dillon.Varone@amd.com>
Thu, 17 Nov 2022 00:32:16 +0000 (19:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:38 +0000 (11:03 -0500)
commitd5bec4030fd7ab206e7f3c118de7c459ca20f7ef
tree4c857e89212bc84167bc21d0118a5af5d8e34aa8
parent359bcc904e233c8285d40a92121c8a5056d36e6f
drm/amd/display: Use DCC meta pitch for MALL allocation requirements

[Description]
Calculations for determining DCC meta size should be pitch*height*bpp/256.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
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_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c