diff options
author | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2020-01-30 16:17:57 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-31 10:18:12 +0000 |
commit | 9eff6b735ce70ec11034859acb6b9337ae26e89c (patch) | |
tree | 39d39cfd3b37d365b250dd03b9dfc8497fe48ed4 | |
parent | 92132fa31bb528eec98cbfd027a5c33095155f82 (diff) |
i915/gem_tiled_.*blits: skip the tests on newer gens
Skip the tests on newer gens when no fences are available
and gem_set_tiling() cannot succeed.
Note that the primary purpose of these tests is to ensure that the
tiling remains consistent across movement of the buffers in the GTT due
to aperture thrashing. As such we would be much better served by a small
selftest to verify position-independent tiling of both physical and
virtual addressing (and where the HW doesn't have such
position-independent tiling, we check we either fixup the swizzling
across relocations, or prevent such relocations.)
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/i915/gem_tiled_blits.c | 1 | ||||
-rw-r--r-- | tests/i915/gem_tiled_fence_blits.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/i915/gem_tiled_blits.c b/tests/i915/gem_tiled_blits.c index df0699f3..ba0920da 100644 --- a/tests/i915/gem_tiled_blits.c +++ b/tests/i915/gem_tiled_blits.c @@ -204,6 +204,7 @@ igt_main fd = drm_open_driver(DRIVER_INTEL); igt_require_gem(fd); gem_require_blitter(fd); + gem_require_mappable_ggtt(fd); bufmgr = drm_intel_bufmgr_gem_init(fd, 4096); drm_intel_bufmgr_gem_enable_reuse(bufmgr); diff --git a/tests/i915/gem_tiled_fence_blits.c b/tests/i915/gem_tiled_fence_blits.c index 93c79dc2..62fd1328 100644 --- a/tests/i915/gem_tiled_fence_blits.c +++ b/tests/i915/gem_tiled_fence_blits.c @@ -214,6 +214,7 @@ igt_main fd = drm_open_driver(DRIVER_INTEL); igt_require_gem(fd); gem_require_blitter(fd); + gem_require_mappable_ggtt(fd); } igt_subtest("basic") |