drm/amd/display: Add swizzle visual confirm mode
authorPo-Ting Chen <robin.chen@amd.com>
Wed, 5 May 2021 12:46:36 +0000 (20:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Jun 2021 16:24:04 +0000 (12:24 -0400)
commit793c82eebb0dc7345d207689b2d20326db68cb2c
tree74c37493841a13cceebbfd1e8963937aed820145
parentcaa18dd6dd9305d52943a6b59f410cbc960ad0a0
drm/amd/display: Add swizzle visual confirm mode

[Why]
To support a new visual confirm mode: swizzle to show the specific
color at the screen border according to different surface swizzle mode.
Currently we only support the Linear mode with red color.

Signed-off-by: Po-Ting Chen <robin.chen@amd.com>
Acked-by: Stylon Wang <stylon.wang@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_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h