OSDN Git Service

drm/amd/display: Update SubVP Visual Confirm
authorDavid Galiffi <David.Galiffi@amd.com>
Sat, 22 Oct 2022 02:22:46 +0000 (22:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Nov 2022 16:52:55 +0000 (11:52 -0500)
commitd417ef7bd76a281e95c0965fce691923b953ab10
tree16226b7f78b55d49dc99a93dac733c720d710bba
parent5aa663752ff6f844c6bfc97d89231e98884ae769
drm/amd/display: Update SubVP Visual Confirm

[Why]
The visual confirm bar is displayed on all displays, but is only
updated on a flip. If an update causes SubVP to be disabled on
all displays, but there are no updates on the other displays, it
will lead to stale information displayed on the non-active
displays. An example of this is playing a fullscreen video on a
rotated display.

[How]
Add a procedure to update visual confirm color for all pipes when
committing a plane.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@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/core/dc.c