[igt-dev] [PATCH i-g-t] i915/gem_pipe_control_store_loop: Adopt to softpin
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Jun 8 14:34:51 UTC 2022
New gens has no relocations so enable both paths, relocs for
older gens and softpin for newer ones.
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
tests/i915/gem_pipe_control_store_loop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_pipe_control_store_loop.c b/tests/i915/gem_pipe_control_store_loop.c
index 305ac7ae..20fdc9c1 100644
--- a/tests/i915/gem_pipe_control_store_loop.c
+++ b/tests/i915/gem_pipe_control_store_loop.c
@@ -68,7 +68,7 @@ store_pipe_control_loop(bool preuse_buffer, int timeout)
struct intel_buf *target_buf;
static struct intel_bb *ibb;
- ibb = intel_bb_create_with_relocs(buf_ops_get_fd(bops), 4096);
+ ibb = intel_bb_create(buf_ops_get_fd(bops), 4096);
igt_until_timeout(timeout) {
/* we want to check tlb consistency of the pipe_control target,
--
2.34.1
More information about the igt-dev
mailing list