[igt-dev] [PATCH i-g-t v3 09/52] tests/gem_bad_reloc: Skip on gens where relocations are not supported

Dixit, Ashutosh ashutosh.dixit at intel.com
Thu Aug 5 00:33:38 UTC 2021


On Mon, 26 Jul 2021 12:59:43 -0700, Zbigniew Kempczyński wrote:
>

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

Though looks like this is already merged.

> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
>  tests/i915/gem_bad_reloc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/gem_bad_reloc.c b/tests/i915/gem_bad_reloc.c
> index 3ca0f3452..0e9c4c79c 100644
> --- a/tests/i915/gem_bad_reloc.c
> +++ b/tests/i915/gem_bad_reloc.c
> @@ -195,6 +195,7 @@ igt_main
>		/* Check if relocations supported by platform */
>		igt_require(gem_has_relocations(fd));
>		gem_require_blitter(fd);
> +		igt_require(gem_has_relocations(fd));
>	}
>
>	igt_subtest("negative-reloc")
> --
> 2.26.0
>


More information about the igt-dev mailing list