OSDN Git Service

drm/amd/display: fix MALL size hardcoded for DCN321
authorSamson Tam <Samson.Tam@amd.com>
Tue, 17 Jan 2023 08:47:13 +0000 (03:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jan 2023 19:00:57 +0000 (14:00 -0500)
commit918d5166439078364453f2eb5b4d8e75095a510e
treeeceabf6b37067f88f25cc47c6acd00f02f3ac98f
parent0a31efb4d606884d1ed17d5df64e9d02f50a0713
drm/amd/display: fix MALL size hardcoded for DCN321

[Why]
MALL size available can vary for different SKUs
MALL size was still hardcoded for DCN321

[How]
Remove hardcoding MALL size for DCN321

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@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/dcn321/dcn321_resource.c