summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorWayne Lin <Wayne.Lin@amd.com>2020-11-24 19:57:03 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-12-15 11:33:55 -0500
commit02ce73b01e09e388614b22b7ebc71debf4a588f0 (patch)
tree120e9e71ed2c9c15c227390ce8ec491ed3c1b350 /tools/perf/scripts/python/intel-pt-events.py
parent570b302ba1ce508dbfa3f1d6c6dc6e2531e45be5 (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. 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>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions