]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add workaround for subvp cursor corruption for DCN32/321
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 25 Aug 2022 19:05:58 +0000 (15:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:27:00 +0000 (14:27 -0400)
commitffc79cdff5ff1749da39fe9ac47e9d3843dc6743
treec6e6b10ae7c02bda8f5326d49c487ea2b59de439
parenta9774c6ab4b8032270230f951d27b15d6a4cb2e1
drm/amd/display: add workaround for subvp cursor corruption for DCN32/321

[Why&How]
Kernel does not have a means to tell the userspace to use software
cursor. Due to lack of this functionality, reducing the max cursor size
is the only way to ensure that power savings of Subview port feature is
utilized for asics that support it. The workaround could be removed
after cursor caching is fixed while a subviewport config is active.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c