diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-12 11:03:29 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-12 11:17:58 +0200 |
commit | 7847ea2965e548f7f68c6d7a88499bdb255a697f (patch) | |
tree | ab57251355f10ec894647eb4bb258b87e152928f /tests/gem_ctx_bad_exec.c | |
parent | 7553ad6e10f76aa703359a10e08138e14501d54d (diff) |
tests: use drmtest_skip to check for rings
To simplify things add a set of gem_check_<ring> functions which take
care of this. Since I've opted for static inlines drmtest.h grew a few
more header includes which was a neat opportunity to dump a few redundant
#defines.
This kills all the skipped_all hand-rolled logic we have.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_ctx_bad_exec.c')
-rw-r--r-- | tests/gem_ctx_bad_exec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c index f6463aca6..b7e5db037 100644 --- a/tests/gem_ctx_bad_exec.c +++ b/tests/gem_ctx_bad_exec.c @@ -104,7 +104,6 @@ static int exec(int fd, uint32_t handle, int ring, int ctx_id) return ret; } -#define MI_BATCH_BUFFER_END (0xA<<23) int main(int argc, char *argv[]) { uint32_t handle; |