Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9843A89E32 for ; Tue, 10 Aug 2021 03:33:35 +0000 (UTC) Date: Tue, 10 Aug 2021 05:33:29 +0200 From: Zbigniew =?utf-8?Q?Kempczy=C5=84ski?= Message-ID: <20210810033329.GD3738@zkempczy-mobl2> References: <20210809130533.27759-1-zbigniew.kempczynski@intel.com> <20210809130533.27759-29-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210809130533.27759-29-zbigniew.kempczynski@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t v5 28/65] tests/gem_lut_handle: Require relocation support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Andrzej Turko List-ID: On Mon, Aug 09, 2021 at 03:04:56PM +0200, Zbigniew Kempczyński wrote: > From: Andrzej Turko > > This test only exercises relocations so it must be skipped on generations > which do not support them. > > Signed-off-by: Andrzej Turko > Cc: Zbigniew Kempczyński > --- > tests/i915/gem_lut_handle.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/i915/gem_lut_handle.c b/tests/i915/gem_lut_handle.c > index 64dbb87c5..32f76aaa0 100644 > --- a/tests/i915/gem_lut_handle.c > +++ b/tests/i915/gem_lut_handle.c > @@ -170,6 +170,7 @@ igt_simple_main > int fd, i; > > fd = drm_open_driver(DRIVER_INTEL); > + igt_require(gem_has_relocations(fd)); > > handle = gem_create(fd, 4096); > gem_write(fd, handle, 0, batch, sizeof(batch)); > -- > 2.26.0 > Reviewed-by: Zbigniew Kempczyński -- Zbigniew