summaryrefslogtreecommitdiff
path: root/tests/gem_shrink.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_shrink.c')
-rw-r--r--tests/gem_shrink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_shrink.c b/tests/gem_shrink.c
index 929e0426..c8e05814 100644
--- a/tests/gem_shrink.c
+++ b/tests/gem_shrink.c
@@ -208,7 +208,7 @@ static void hang(int fd, uint64_t alloc)
gem_execbuf(fd, &execbuf);
}
- gem_close(fd, igt_hang_ring(fd, 0).handle);
+ gem_close(fd, igt_hang_ring(fd, 0).spin->handle);
for (int i = 0; i <= count; i++)
gem_madvise(fd, obj[i].handle, I915_MADV_DONTNEED);
munmap(obj, obj_size);