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 13:20:07 -0500 |
commit | 1c26a1bf3bcb6a9bfc05c4279caf5d21791d2300 (patch) | |
tree | 558be4d4c42626e7697ce17ffe5835022e89d5cc /tools/perf/scripts/python/check-perf-trace.py | |
parent | e2881d6d0a26534b1b1bf3ef584dbf9038808a9b (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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions