summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_ctx_exec.c')
-rw-r--r--tests/gem_ctx_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_exec.c b/tests/gem_ctx_exec.c
index 93f5b971..542ebc3b 100644
--- a/tests/gem_ctx_exec.c
+++ b/tests/gem_ctx_exec.c
@@ -201,7 +201,7 @@ igt_main
* the last context is leaked at every reset.
*/
for (i = 0; i < 20; i++) {
- igt_hang_ring_t hang = igt_hang_ring(fd, I915_EXEC_RENDER);
+ igt_hang_t hang = igt_hang_ring(fd, I915_EXEC_RENDER);
igt_assert(exec(fd, handle, I915_EXEC_RENDER, 0) == 0);
igt_assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0);
igt_post_hang_ring(fd, hang);