aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2021-02-05 11:29:12 +0000
committerDaniel Vetter <[email protected]>2021-03-24 19:31:59 +0100
commit985458d706bd86c16234bfc155535da2a64a9dde (patch)
treeb095c54bde097623af1643b765acf3d18c338100 /tools/perf/util/trace-event-scripting.c
parentdc4304001230557e30cf5eae52b4d7caa6473855 (diff)
drm/i915/selftest: Synchronise with the GPU timestamp
Wait for the GPU to wake up from the semaphore before measuring the time, so that we coordinate the sampling on both the CPU and GPU for more accurate comparisons. v2: Switch to local_irq_disable() as once suggested by Mika. Reported-by: Bruce Chang <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: CQ Tang <[email protected]> Reviewed-by: Bruce Chang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions