aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAric Cyr <[email protected]>2020-05-12 15:48:48 +0000
committerAlex Deucher <[email protected]>2020-05-27 22:42:10 +0000
commit185082b679b4bd6dfb69764eaa89213b26f6f703 (patch)
tree3d27954d6d7877c4d8eb79aabe481ecb49ef9e9d /tools/perf/scripts/python/stat-cpi.py
parentdrm/amd/display: drop cursor position check in atomic test (diff)
downloadkernel-185082b679b4bd6dfb69764eaa89213b26f6f703.tar.gz
kernel-185082b679b4bd6dfb69764eaa89213b26f6f703.zip
drm/amd/display: Fix potential integer wraparound resulting in a hang
[Why] If VUPDATE_END is before VUPDATE_START the delay calculated can become very large, causing a soft hang. [How] Take the absolute value of the difference between START and END. Signed-off-by: Aric Cyr <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions