diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-28 08:10:31 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-29 14:30:21 +0000 |
commit | 4147bab8e3dcaf11bd657b5fb4c109708e94e60c (patch) | |
tree | 054ad1e991cd58e8baaec64b4afa065736ca03e6 /tests/i915/gem_mmap_gtt.c | |
parent | 1912e0c28d1cefb700f52c8fd4f255eecf1d92ab (diff) |
i915: Drop prefault controls
They haven't been effective for a long time; so drop them.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_mmap_gtt.c')
-rw-r--r-- | tests/i915/gem_mmap_gtt.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/i915/gem_mmap_gtt.c b/tests/i915/gem_mmap_gtt.c index af87ebc3..1f4655af 100644 --- a/tests/i915/gem_mmap_gtt.c +++ b/tests/i915/gem_mmap_gtt.c @@ -1022,15 +1022,6 @@ test_fault_concurrent(int fd) munmap(ptr[n], *ptr[n] * sizeof(uint32_t)); } -static void -run_without_prefault(int fd, - void (*func)(int fd)) -{ - igt_disable_prefault(); - func(fd); - igt_enable_prefault(); -} - static int mmap_ioctl(int i915, struct drm_i915_gem_mmap_gtt *arg) { int err = 0; @@ -1109,12 +1100,6 @@ igt_main test_read_write2(fd, READ_AFTER_WRITE); igt_subtest("fault-concurrent") test_fault_concurrent(fd); - igt_subtest("basic-read-no-prefault") - run_without_prefault(fd, test_read); - igt_subtest("basic-write-no-prefault") - run_without_prefault(fd, test_write); - igt_subtest("basic-write-gtt-no-prefault") - run_without_prefault(fd, test_write_gtt); igt_subtest("basic-write-cpu-read-gtt") test_write_cpu_read_gtt(fd); igt_subtest("basic-wc") |