[igt-dev] [PATCH i-g-t] i915/gem_pipe_control_store_loop: Adopt to softpin
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Wed Jun 8 15:05:47 UTC 2022
On Wed, Jun 08, 2022 at 04:34:51PM +0200, Kamil Konieczny wrote:
> 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);
Yes, should do the job:
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
--
Zbigniew
>
> 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