1
0
Fork 0
alistair23-linux/drivers/gpu/drm/amd
Wayne Lin 02ce73b01e drm/amd/display: Fix to be able to stop crc calculation
[Why]
Find out when we try to disable CRC calculation,
crc generation is still enabled. Main reason is
that dc_stream_configure_crc() will never get
called when the source is AMDGPU_DM_PIPE_CRC_SOURCE_NONE.

[How]
Add checking condition that when source is
AMDGPU_DM_PIPE_CRC_SOURCE_NONE, we should also call
dc_stream_configure_crc() to disable crc calculation.
Also, clean up crc window when disable crc calculation.

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-12-15 11:33:55 -05:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: skip load smu and sdma microcode on sriov for SIENNA_CICHLID 2020-12-15 11:33:16 -05:00
amdkfd drm/amdkfd: correct pipe offset calculation 2020-12-10 16:41:49 -05:00
display drm/amd/display: Fix to be able to stop crc calculation 2020-12-15 11:33:55 -05:00
include drm/amdgpu: new macro for determining 2ND_USB20PORT support 2020-12-10 16:41:49 -05:00
pm drm/amdgpu: skip load smu and sdma microcode on sriov for SIENNA_CICHLID 2020-12-15 11:33:16 -05:00