From 0189ca288f7188e60f5eda356b190040bf8ec704 Mon Sep 17 00:00:00 2001 From: Kamil Konieczny Date: Wed, 8 Jun 2022 16:34:51 +0200 Subject: i915/gem_pipe_control_store_loop: Adopt to softpin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New gens has no relocations so enable both paths, relocs for older gens and softpin for newer ones. Cc: Zbigniew Kempczyński Signed-off-by: Kamil Konieczny Reviewed-by: Zbigniew Kempczyński --- 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, -- cgit v1.2.3