summaryrefslogtreecommitdiff
path: root/tests/core_auth.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-12-01 13:33:13 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-12-01 13:35:33 +0000
commit3b75839b795c3e206316f4423b1f9ae01c91d64c (patch)
tree798fee5cbdd554a4b756589b1179ce14d2dc51ec /tests/core_auth.c
parent4cfcea4056ab78a8097b41e26748c940936cd411 (diff)
lib: gem_set_caching() use drmIoctl() rather than ioctl()
gem_set_caching() tries to be clever and detect when the ioctl isn't supported (thereby skipping the test). However, it forget that we may be acting on active objects and be subject to the usual EAGAIN/EINTR errors. We can use the drmIoctl() to wrap the raw ioctl() in order to get the automatic restart on the interrupted syscall. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/core_auth.c')
0 files changed, 0 insertions, 0 deletions