summaryrefslogtreecommitdiff
path: root/tests/gem_reset_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_reset_stats.c')
-rw-r--r--tests/gem_reset_stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_reset_stats.c b/tests/gem_reset_stats.c
index 3b4974f9..3de74af1 100644
--- a/tests/gem_reset_stats.c
+++ b/tests/gem_reset_stats.c
@@ -156,7 +156,7 @@ static void inject_hang(int fd, uint32_t ctx,
const struct intel_execution_engine *e,
unsigned flags)
{
- igt_hang_ring_t hang;
+ igt_hang_t hang;
clock_gettime(CLOCK_MONOTONIC, &ts_injected);
@@ -547,7 +547,7 @@ static void test_close_pending_fork(const struct intel_execution_engine *e,
const bool reverse)
{
int fd = drm_open_driver(DRIVER_INTEL);
- igt_hang_ring_t hang;
+ igt_hang_t hang;
int pid;
assert_reset_status(fd, fd, 0, RS_NO_ERROR);