diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2019-04-17 18:28:33 +0300 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2019-04-18 17:04:09 +0300 |
commit | a765aa108105804c19096554447ad0cb71f64fc3 (patch) | |
tree | 5570cc9b5c6a733268d56a3a96939873d254e61b /tests/i915/gem_mmap_gtt.c | |
parent | 226b9995d1fb486d34cd35428025b55532e9e3d1 (diff) |
lib/igt_dummyload: Get rid of 'batch' on spinner accessors
There is no guarantee that spinners are and will be implemented
using batches. As we have igt_spin_t, manipulate it through
igt_spin_* functions consistently and hide the batch nature.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/i915/gem_mmap_gtt.c')
-rw-r--r-- | tests/i915/gem_mmap_gtt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/gem_mmap_gtt.c b/tests/i915/gem_mmap_gtt.c index ab7d3f2d..9a670f03 100644 --- a/tests/i915/gem_mmap_gtt.c +++ b/tests/i915/gem_mmap_gtt.c @@ -309,7 +309,7 @@ test_pf_nonblock(int i915) igt_require(mmap_gtt_version(i915) >= 3); - spin = igt_spin_batch_new(i915); + spin = igt_spin_new(i915); igt_set_timeout(1, "initial pagefaulting did not complete within 1s"); @@ -319,7 +319,7 @@ test_pf_nonblock(int i915) igt_reset_timeout(); - igt_spin_batch_free(i915, spin); + igt_spin_free(i915, spin); } static void |