]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Added visual confirm for DCC
authorLeo Zeng <Leo.Zeng@amd.com>
Wed, 19 Feb 2025 15:29:39 +0000 (10:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:41:02 +0000 (10:41 -0500)
commit5ad8eed17232410edd127a00c3ed8ab1c03972e1
tree036769120615b0e3f4b1f2ce948dcf19fb8cf06d
parentc707ea82c79dbd1d295ec94cc6529a5248c77757
drm/amd/display: Added visual confirm for DCC

[WHY]
We want to add a visual confirm mode for DCC and MCache for
debugging purpose.

[HOW]
color pipes based on whether DCC is enabled and what MCache id
is used.
black - DCC disabled
red - DCC enabled
grey - 2 different MCaches used
other colors - 1 MCache used

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Leo Zeng <Leo.Zeng@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/core/dc.c
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/hwss/hw_sequencer.h