aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2015-05-26 17:53:38 +0900
committerDaniel Vetter <[email protected]>2015-05-27 13:00:08 +0200
commit5ceecb2fa720c01a97e6fa2353c2b8f1e8d69f1f (patch)
tree4a9ad864ed2ff736c7138fa997875b7944601d6e /tools/perf/scripts/python/syscall-counts.py
parent60f207a5b6d8f23c2e8388b415e8d5c7311cc79d (diff)
drm: Fix off-by-one in vblank hardware counter wraparound handling
dev->max_vblank_count contains the largest value that can be represented by the hardware counter. When the hardware counter wraps around, we have to add that value + 1 to get the same value as if the hardware counter didn't wrap around. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions