summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-12-08 18:08:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2017-12-11 10:18:54 +0000
commit0f3be861eb7456a87706b72216daa3ee7e4dde5b (patch)
tree6f5a209a072bb2f0ca0d9ad98a7a0ac2b7b3df8b /lib/intel_batchbuffer.h
parent3a9999573ecc07703fb51d1342e8415ff455c69b (diff)
tests: Use igt_device_set_master
A few tests only require DRM_MASTER privileges for a subset of gen or tests, and so open the device as normal and conditionally call drmSetMaster. Translate these over to using igt_device_set_master(), which includes a bit more debugging for when it fails. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.h')
0 files changed, 0 insertions, 0 deletions