]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Set Cursor Matrix to bypass instead of Input Plane
authorDaniel Sa <daniel.sa@amd.com>
Thu, 4 Jul 2024 17:41:15 +0000 (13:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:13 +0000 (17:07 -0400)
commitacce1eb8eb5de360fd82fd900454ff180912d8b1
tree40cfed1f055bca824ce8c7e6139162cebda7b6a2
parentbe7a6a5171649c39f79a6259518218351082bd99
drm/amd/display: Set Cursor Matrix to bypass instead of Input Plane

why:
When the cursor disappears/reappears on fullscreen video, there is a
short transitional period where the cursor's color matrix is using the
same format as the video plane. This sets the cursor to the wrong color
momentarily before the UI plane appears, correcting the color.

how:
Instead of defaulting to using the color space from the input plane,
default to bypass mode.

Reviewed-by: Nevenko Stupar <nevenko.stupar@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@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/dpp/dcn401/dcn401_dpp_cm.c