[PATCH i-g-t v2 1/2] intel_batchbuffer: use no-reloc for gens >= 8
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Thu Apr 15 05:13:18 UTC 2021
for CI
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
---
lib/intel_batchbuffer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 0b2c5b21e..9222e775b 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -1289,6 +1289,7 @@ __intel_bb_create(int i915, uint32_t ctx, uint32_t size, bool do_relocs,
if (!ibb->uses_full_ppgtt)
do_relocs = true;
+ igt_info("USE RELOCS: %d\n", do_relocs);
/* if relocs are set we won't use an allocator */
if (do_relocs)
allocator_type = INTEL_ALLOCATOR_NONE;
@@ -1381,7 +1382,7 @@ struct intel_bb *intel_bb_create_with_allocator(int i915, uint32_t ctx,
static bool aux_needs_softpin(int i915)
{
- return intel_gen(intel_get_drm_devid(i915)) >= 12;
+ return intel_gen(intel_get_drm_devid(i915)) >= 8;
}
/**
--
2.26.0
More information about the Intel-gfx-trybot
mailing list