From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 43EBE6FC7A for ; Sat, 1 Feb 2020 03:37:48 +0000 (UTC) Date: Fri, 31 Jan 2020 19:37:45 -0800 Message-ID: <87blqj565y.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20200131171150.8333-1-antonio.argenziano@intel.com> References: <20200131171150.8333-1-antonio.argenziano@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_sseu: Skip gtt tests if mappable aperture unavailable List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Antonio Argenziano Cc: igt-dev@lists.freedesktop.org List-ID: On Fri, 31 Jan 2020 09:11:50 -0800, Antonio Argenziano wrote: > The gtt tests try to verify that a gtt mapped area can be used as an > sseu pointer so it wouldn't make sense to run those when gtt mapping is > not available. > > v2: > - Move require in subtest definition. (Ashutosh) > Reviewed-by: Ashutosh Dixit > Signed-off-by: Antonio Argenziano > Cc: Dixit Ashutosh > --- > tests/i915/gem_ctx_sseu.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/tests/i915/gem_ctx_sseu.c b/tests/i915/gem_ctx_sseu.c > index 38dc584b..b5e9658e 100644 > --- a/tests/i915/gem_ctx_sseu.c > +++ b/tests/i915/gem_ctx_sseu.c > @@ -528,8 +528,11 @@ igt_main > igt_subtest("invalid-sseu") > test_invalid_sseu(fd); > > - igt_subtest("ggtt-args") > + igt_subtest("ggtt-args") { > + gem_require_mappable_ggtt(fd); > + > test_ggtt_args(fd); > + } > > igt_subtest("engines") > test_engines(fd); > -- > 2.21.0 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev