]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: For FPO + Vactive check that all pipes support VA
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 18 Apr 2024 15:53:34 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:56:50 +0000 (09:56 -0400)
commit523ee6f4419bbeccbe43399d999f37381b5958c7
tree4aad524cf9b066b7caf2384c108b1ff88be6eaf9
parent05c5ffaac770bbf815def6a18f93d54fcf47cc5b
drm/amd/display: For FPO + Vactive check that all pipes support VA

[Description]
For FPO + Vactive scenarios we must check that all non-FPO pipes
have VACTIVE margin to allow it. The previous check only confirmed
that there is at least one pipe that has vactive margin, but this
is incorrect as the vactive display could be using two pipes (MPO)
where the desktop plane has vactive margin, and the video plane
does not.

Reviewed-by: Samson Tam <samson.tam@amd.com>
Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Acked-by: Wayne Lin <wayne.lin@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_helpers.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h