[igt-dev] [PATCH i-g-t] tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable

Dixit, Ashutosh ashutosh.dixit at intel.com
Sat Feb 1 03:38:49 UTC 2020


On Fri, 31 Jan 2020 09:04:16 -0800, Antonio Argenziano wrote:
>
> The subtest tries to do a gtt mapping but if there is no mappable
> aperture that is not possible.
>
> v2:
>	- Skip the whole dynamic subtest. (Petri)

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

Though Chris did have comments on this so he may want to review/ack this
too. Thanks!

> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Dixit, Ashutosh <ashutosh.dixit at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Petri Latvala <petri.latvala at intel.com>
> ---
>  tests/i915/gem_exec_basic.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tests/i915/gem_exec_basic.c b/tests/i915/gem_exec_basic.c
> index 70dce34b..b3c56369 100644
> --- a/tests/i915/gem_exec_basic.c
> +++ b/tests/i915/gem_exec_basic.c
> @@ -141,6 +141,8 @@ igt_main
>	}
>
>	igt_subtest_with_dynamic("gtt") {
> +		gem_require_mappable_ggtt(fd);
> +
>		__for_each_physical_engine(fd, e) {
>			igt_dynamic_f("%s", e->name)
>				gtt(fd, e->flags);
> --
> 2.21.0



More information about the igt-dev mailing list