]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Fix overlay with pre-blend color processing
authorMichael Strauss <michael.strauss@amd.com>
Tue, 30 Jul 2019 20:27:24 +0000 (16:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:01 +0000 (11:11 -0400)
commit507293b1b207e419fc7ea4ff1d72c2f1db18e33c
tree60bb08fde0948324d730abbca2e58fce9ad82d60
parentdb65eb46de135338d6177f8853e0fd208f19d63e
drm/amd/display: Fix overlay with pre-blend color processing

[WHY]
Overlay works similarly to MPO, but uses global alpha on both planes and
sets the desktop as the rear plane instead of the front plane

[HOW]
Ensure that top plane isn't overlay by checking global alpha before
applying the previously added MPO fix

Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@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/hwss/dcn10/dcn10_hwseq.c