aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-03-24 17:30:58 +0000
committerVille Syrjälä <[email protected]>2017-03-29 13:51:26 +0300
commit75cff0837c14eaf632efabb8d7ab9eec6394d20d (patch)
tree14c5aec4996d9bf770f4e666de780f60d2216a1f /tools/perf/scripts/python/call-graph-from-postgresql.py
parent38b6441e4e75c0b319cfe4d9364c1059fc1e3c2b (diff)
drm: Make the decision to keep vblank irq enabled earlier
We want to provide the vblank irq shadow for pageflip events as well as vblank queries. Such events are completed within the vblank interrupt handler, and so the current check for disabling the irq will disable it from with the same interrupt as the last pageflip event. If we move the decision on whether to disable the irq (based on there no being no remaining vblank events, i.e. vblank->refcount == 0) to before we signal the events, we will only disable the irq on the interrupt after the last event was signaled. In the normal course of events, this will keep the vblank irq enabled for the entire flip sequence whereas before it would flip-flop around every interrupt. v2: Move the disable_fn() call outside of the vblank_event_lock. Signed-off-by: Chris Wilson <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Michel Dänzer <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Dave Airlie <[email protected]>, Cc: Mario Kleiner <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> #v1 Reviewed-by: Mario Kleiner <[email protected]> #v1 Signed-off-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions