diff options
author | Mario Kleiner <[email protected]> | 2010-12-10 16:00:19 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-12-21 13:25:09 +1000 |
commit | 000fa7cf46479238f7b9f2d7763e41af5268b16a (patch) | |
tree | 369187b88e87ffc31b1479dd6eb69a8a942bc755 /tools/perf/util/trace-event-scripting.c | |
parent | 3ce05168907c9b1358492a73badb0ff1603fb81d (diff) |
drm-vblank: Always return true vblank count of scheduled vblank event.
This patch tries to make sure that the vbl.reply.sequence
vblank count for a queued or emitted vblank event always
corresponds to the true vblank count of queueing/emission, so
the ddx can rely on the returned target_msc for consistency
checks and implementation of swap_intervals in glXSwapBuffers().
Without this there is a small race-condition between the
userspace ddx queueing a vblank event and the vblank
counter incrementing before the event gets queued in
the kernel.
Signed-off-by: Mario Kleiner <[email protected]>
Acked-by: Jesse Barnes <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions