From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3120F6E0D9 for ; Thu, 14 Oct 2021 04:30:07 +0000 (UTC) Date: Wed, 13 Oct 2021 21:12:36 -0700 Message-ID: <877degi6rv.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20211008065432.15482-4-zbigniew.kempczynski@intel.com> References: <20211008065432.15482-1-zbigniew.kempczynski@intel.com> <20211008065432.15482-4-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: Re: [igt-dev] [PATCH i-g-t 3/7] tests/gem_exec_alignment: Add prerequisite alignment condition List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Zbigniew =?ISO-8859-2?Q?Kempczy=F1ski?= Cc: igt-dev@lists.freedesktop.org, Petri Latvala List-ID: On Thu, 07 Oct 2021 23:54:28 -0700, Zbigniew Kempczy=F1ski wrote: > > Skip the test if the kernel doesn't support passing object alignment. > > Signed-off-by: Zbigniew Kempczy=F1ski > Cc: Petri Latvala > Cc: Ashutosh Dixit > --- > tests/i915/gem_exec_alignment.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignm= ent.c > index c4611bd1e..f40b391c9 100644 > --- a/tests/i915/gem_exec_alignment.c > +++ b/tests/i915/gem_exec_alignment.c > @@ -530,6 +530,7 @@ igt_main > igt_fixture { > fd =3D drm_open_driver(DRIVER_INTEL); > igt_require_gem(fd); > + igt_require(gem_allows_passing_alignment(fd)); How about renaming this function something like gem_allows_obj_alignment? Otherwise this is: Reviewed-by: Ashutosh Dixit