diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-04 09:40:51 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-08 09:57:33 +0000 |
commit | 60eafc548911d8625d20443a203c5aff3662c39a (patch) | |
tree | fca563b1d9d11576097e4d0920a64d867693c67c /lib/ioctl_wrappers.h | |
parent | 9ba9af2ea4306796cbb72c76bc0de05a0fb14c6b (diff) |
igt/gem_exec_suspend: Do pre/post suspend double checks
Check that the system operates normally before and after the suspend (as
well as across the suspend). The goal is to isolate the breakage to the
subtest.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r-- | lib/ioctl_wrappers.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index f59eafba..3c922057 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -152,7 +152,8 @@ bool gem_has_softpin(int fd); /* check functions which auto-skip tests by calling igt_skip() */ void gem_require_caching(int fd); -void gem_require_ring(int fd, int ring_id); +bool gem_has_ring(int fd, unsigned ring); +void gem_require_ring(int fd, unsigned ring); /* prime */ struct local_dma_buf_sync { |