diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2020-11-24 19:57:03 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-14 14:06:43 -0500 |
commit | 2f0fa789f7b9fb022440f8f846cae175233987aa (patch) | |
tree | fd45de94060cac1bebd4eaf8dfd64f3e98c9a0d6 /include | |
parent | a7ddd22151fc2910c7b2faad64680cc2bb699b03 (diff) |
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.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions