diff options
author | Ville Syrjälä <[email protected]> | 2017-10-10 16:33:22 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2017-10-12 17:34:28 +0300 |
commit | 632c6e4edef17c40bba3be67c980d959790d142f (patch) | |
tree | c763379cbd95e337a67cb450d787d548c3b02cff /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | cccf4e3fe3e286b55634c2c5d0c4399f4288e440 (diff) |
drm/vblank: Fix flip event vblank count
On machines where the vblank interrupt fires some time after the start
of vblank (or we just manage to race with the vblank interrupt handler)
we will currently stuff a stale vblank counter value into the flip event,
and thus we'll prematurely complete the flip.
Switch over to drm_crtc_accurate_vblank_count() to make sure we have an
up to date counter value, crucially also remember to add the +1 so that
the delayed vblank interrupt won't complete the flip prematurely.
Cc: [email protected]
Cc: Daniel Vetter <[email protected]>
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]> #irc
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions