]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Extend secure display to support DisplayCRC mode
authorWayne Lin <Wayne.Lin@amd.com>
Thu, 31 Oct 2024 07:57:40 +0000 (15:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2025 17:03:52 +0000 (12:03 -0500)
commit44cea2bb9c872594e538412eb9c780b391eb112c
treeec93b2dd80a6f27a3a7b517041ebd02c548b9a1f
parentb6fcc3867d746c181d253b110236985b9b2ee2aa
drm/amd/display: Extend secure display to support DisplayCRC mode

[Why]
For the legacy secure display, it involves PSP + DMUB to confgiure and
retrieve the CRC/ROI result. Have requirement to support mode which all
handled by driver only.

[How]
Add another "DisplayCRC" mode, which doesn't involve PSP + DMUB.
All things are handled by the driver only

Reviewed-by: HaoPing Liu <haoping.liu@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h