drm/amd/display: Calculate MALL cache lines based on Mblks required
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 13 Jul 2022 16:33:37 +0000 (12:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:15:35 +0000 (17:15 -0400)
commit4a21ab548a7ac19b15aba9aa8df39972ed82f4ad
treee7f25c086ef05f65343909f9af4fae7d7ba7cb21
parenteb54e014367e1700fa5b94e4c788520081a70661
drm/amd/display: Calculate MALL cache lines based on Mblks required

[Description]
- Calculation for NumWays in MALL should be based on
number of MBlks

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@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/dcn32/dcn32_resource.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c