]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fetch Mall caps from DC
authorDaniel Sa <daniel.sa@amd.com>
Thu, 16 May 2024 16:03:34 +0000 (12:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 15:25:14 +0000 (11:25 -0400)
commit2874129903600907bb29b5df15258b95630548f3
tree307335561ddf38c03d998fad96010fb0a7d8bdde
parent5d74be8c3a941993299c78f7d3d70c27f826af0b
drm/amd/display: Fetch Mall caps from DC

[Why]
When performing P-State switching with Subvp on 8k (downscaled to 4k).
corruption can be seen on the screen. MALL data was not being fetched
from DC, and the system things there is more MALL space then what is
actually available.

[How]
Read MALL size from dc caps.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Daniel Sa <daniel.sa@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/dml2/dml21/dml21_translation_helper.c