linux/drivers/gpu/drm/amd/display/dc/optc/dcn31
Wayne Lin c79354d12c drm/amd/display: Fix CRC engine 1 enable/disable on DCN3.1.2+
[Why]
Multi-ROI CRC uses OTG_CRC1_EN for the second engine, but the driver
only toggled OTG_CRC_EN and cleared the whole OTG_CRC_CNTL register on
disable.

[How]
Program engine 1 via OTG_CRC1_EN where supported, disable each
engine independently by crc_eng_inst, and add the missing mask on
relevant DCN ASICs.

Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-06 12:44:01 -04:00
..
dcn31_optc.c drm/amd/display: Deprecate DMUB register offload functionality 2026-06-17 16:08:41 -04:00
dcn31_optc.h drm/amd/display: Fix CRC engine 1 enable/disable on DCN3.1.2+ 2026-08-06 12:44:01 -04:00