summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-03-19 13:00:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-03-19 13:15:08 +0000
commitc1fed522ae98b7c74700521f7b3e0368f0f0948e (patch)
tree73351e9723929faf2e75f894500fbcfdee64f50b /lib/tests
parent4e4f5b4fdca7ea2a9da79fe5b0266d1d31908e1c (diff)
lib: Replace drmIoctl() with a layer of indirection
Insted of calling drmIoctl() directly, call igt_ioctl() instead. In the normal scenario this is function pointer that calls drmIoctl() (so no penalty), but allows us to divert ioctls into our own routines for nefarious purposes. One such purpose will be to control interrupt generation into the ioctl, to be able to detect when we successfully interrupt the ioctl and when we no longer need more interrupts. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/tests')
0 files changed, 0 insertions, 0 deletions