aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDhinakaran Pandiyan <[email protected]>2018-02-02 21:13:00 -0800
committerRodrigo Vivi <[email protected]>2018-02-15 11:50:04 -0800
commit68036b08b91bc491ccc308f902616a570a49227c (patch)
treeee6cbb2970d467cece871162c2d950db5f2ae5f2 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentf4c0468e4bd64b7cd00e2db309925728fc72bf8b (diff)
drm/vblank: Do not update vblank count if interrupts are already disabled.
Updating vblank counts requires register reads and these reads may not return meaningful values if the device was in a low power state after vblank interrupts were last disabled. So, update the count only if vblank interrupts are enabled. Secondly, this means the registers should be read before disabling vblank interrupts. v2: Don't check vblank->enabled outside it's lock (Chris) Cc: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Michel Dänzer <[email protected]> Signed-off-by: Dhinakaran Pandiyan <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions