diff options
author | Chris Wilson <[email protected]> | 2017-03-17 20:20:30 +0000 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-03-29 14:02:22 +0300 |
commit | b33b02707ba3eeccbf8e3687ab5c4124db6d3479 (patch) | |
tree | 37dcc14d876462e12ebc7e5f5d0d8576ef888d2a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 9a4d9babceeabb86669ff280e94c560193e66a72 (diff) |
drm: Peek at the current counter/timestamp for vblank queries
Bypass all the spinlocks and return the last timestamp and counter from
the last vblank if the driver delcares that it is accurate (and stable
across on/off), and the vblank is currently enabled.
This is dependent upon the both the hardware and driver to provide the
proper barriers to facilitate reading our bookkeeping outside of the
vblank interrupt and outside of the explicit vblank locks.
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]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions