drm/amd/display: Add override for visual confirm
authorLeo Zeng <Leo.Zeng@amd.com>
Tue, 25 Feb 2025 20:59:59 +0000 (15:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:30 +0000 (15:18 -0400)
commit9cdd9c4d039eae77142a27ffeaee76a5d5a9294f
treeeeed164762bc4c5828d52791f5d1966697d52851
parentf5e7fabd1f5c65b2e077efcdb118cfa67eae7311
drm/amd/display: Add override for visual confirm

[WHY]
We want to allow the display manager to override the visual
confirm color in DC when required.

[HOW]
Add new visual confirm mode VISUAL_CONFIRM_EXPLICIT, check mode before
setting visual confirm color.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Leo Zeng <Leo.Zeng@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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
drivers/gpu/drm/amd/display/dc/dc.h