[igt-dev] [i-g-t] test/i915/gem_exec_reloc: Drop reloc support for gen12+

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Mar 15 11:35:49 UTC 2021


On Mon, Mar 15, 2021 at 04:32:18PM +0530, Tejas Upadhyay wrote:
> i915 kernel driver is dropping reloc support gen12+. This change
> will drop reloc support in gem_exec_reloc in IGT.
> 
> Ref : https://patchwork.kernel.org/project/dri-devel/patch/20210311162606.1045592-1-jason@jlekstrand.net/
> 
> Cc: Maarten Lankhorst<maarten.lankhorst at intel.com>
> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay at intel.com>
> ---
>  tests/i915/gem_exec_reloc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/i915/gem_exec_reloc.c b/tests/i915/gem_exec_reloc.c
> index 8d52960b..4c24f178 100644
> --- a/tests/i915/gem_exec_reloc.c
> +++ b/tests/i915/gem_exec_reloc.c
> @@ -1478,6 +1478,8 @@ igt_main
>  	igt_fixture {
>  		fd = drm_open_driver_master(DRIVER_INTEL);
>  		igt_require_gem(fd);
> +		/* Don't use relocations on gen12+ */
> +		igt_require(intel_gen(intel_get_drm_devid(fd)) < 12);
>  	}
>  
>  	for (f = flags; f->name; f++) {
> -- 
> 2.30.0
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev

We got patch which does relocation check, it is part of allocator
series but it is going to be merged standalone:

https://patchwork.freedesktop.org/patch/423361/?series=82954&rev=25

Please watch out current master branch.

--
Zbigniew


More information about the igt-dev mailing list