]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use viewport height for subvp mall allocation size
authorDillon Varone <Dillon.Varone@amd.com>
Thu, 10 Nov 2022 17:13:47 +0000 (12:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 14:01:53 +0000 (09:01 -0500)
commit96b3dfabae4ce63013f0d39bba2ff5afa0f353db
tree5a915a6b1f0fb87173bdc82e19b88aa7ed0476b0
parent3c9a0944d40f825a9cc619365e22c1eb8bc7f191
drm/amd/display: Use viewport height for subvp mall allocation size

[WHY?]
MALL allocation size depends on the viewport height, not the addressable
vertical lines, which will not match when scaling.

[HOW?]
Base MALL allocation size calculations off viewport height.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@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_helpers.c