diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-13 11:13:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-13 11:13:45 +0100 |
commit | 0a1fc45e862d4d5e4e9cba2b5c600588327f8f02 (patch) | |
tree | 628cd5cbab5c721b3e88cec567e91d925f985f2a /tests/kms_flip.c | |
parent | c947bfe563fe16bcad8b7b53b98e32de5aa0d7a6 (diff) |
igt/gem_busy: Prevent banning when running multiple hang tests
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r-- | tests/kms_flip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index d33a4c47..065ad66f 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -790,12 +790,12 @@ static void set_y_tiling(struct test_output *o, int fb_idx) drmFree(r); } -static igt_hang_ring_t hang_gpu(int fd) +static igt_hang_t hang_gpu(int fd) { return igt_hang_ring(fd, I915_EXEC_DEFAULT); } -static void unhang_gpu(int fd, igt_hang_ring_t hang) +static void unhang_gpu(int fd, igt_hang_t hang) { igt_post_hang_ring(fd, hang); } @@ -842,7 +842,7 @@ static unsigned int run_test_step(struct test_output *o) bool do_vblank; struct vblank_reply vbl_reply; unsigned int target_seq; - igt_hang_ring_t hang; + igt_hang_t hang; target_seq = o->vblank_state.seq_step; /* Absolute waits only works once we have a frame counter. */ @@ -1253,7 +1253,7 @@ static unsigned int wait_for_events(struct test_output *o) static unsigned event_loop(struct test_output *o, unsigned duration_ms) { unsigned long start, end; - igt_hang_ring_t hang; + igt_hang_t hang; int count = 0; memset(&hang, 0, sizeof(hang)); |