From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8549F6FC7A for ; Sat, 1 Feb 2020 03:38:51 +0000 (UTC) Date: Fri, 31 Jan 2020 19:38:49 -0800 Message-ID: <87a7635646.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20200131170416.7663-1-antonio.argenziano@intel.com> References: <20200131170416.7663-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] tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is 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, Petri Latvala , Dixit@freedesktop.org List-ID: 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 Though Chris did have comments on this so he may want to review/ack this too. Thanks! > Signed-off-by: Antonio Argenziano > Cc: Dixit, Ashutosh > Cc: Chris Wilson > Cc: Petri Latvala > --- > 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 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev