[PATCH i-g-t v6 31/31] tests/api_intel_bb: For norelocs test we require full ppgtt, to be squashed.

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Oct 19 07:51:21 UTC 2020


Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
 tests/i915/api_intel_bb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/api_intel_bb.c b/tests/i915/api_intel_bb.c
index e1b8e0eb..4375ccd5 100644
--- a/tests/i915/api_intel_bb.c
+++ b/tests/i915/api_intel_bb.c
@@ -550,6 +550,8 @@ static void object_noreloc(struct buf_ops *bops, enum obj_cache_ops cache_op,
 	uint64_t flags = 0;
 	bool purge_cache = cache_op == PURGE_CACHE ? true : false;
 
+	igt_require(gem_uses_full_ppgtt(i915));
+
 	ibb = intel_bb_create_full(i915, 0, PAGE_SIZE, allocator_type);
 	if (debug_bb)
 		intel_bb_set_debug(ibb, true);
-- 
2.26.0



More information about the Intel-gfx-trybot mailing list