summaryrefslogtreecommitdiff
path: root/benchmarks/gem_latency.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-04-03 09:51:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-04-03 13:40:48 +0100
commitbd292436ed0bbc06552fc77c2f10bd02a4d7c797 (patch)
tree593f82e72dfd433dd7c8f54c42cbc7f0ca1e5706 /benchmarks/gem_latency.c
parentcb12d05e79aedaf4f1873b1262b7eeb127e87e80 (diff)
lib: Avoid assertion if sig_ioctl is unsed from a child accidentally
The timer is tied to the creator thread, i.e. it is not inheritable across fork() or clone()/pthread_create(). Using it thus causes an assertion failure in the test after the one that aborts (and so on until we perform an interruptible test correctly) - one mistake snowballs. We can stop the snowball by doing an initial check and diverting back to drmIoctl(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'benchmarks/gem_latency.c')
0 files changed, 0 insertions, 0 deletions