Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC36889F85 for ; Tue, 7 Sep 2021 15:25:17 +0000 (UTC) Date: Tue, 7 Sep 2021 18:25:12 +0300 From: Imre Deak Message-ID: <20210907152512.GA3945825@ideak-desk.fi.intel.com> References: <9535ad74c5f053e2b7c38787200603cc3302ebad.1630704099.git.ashutosh.dixit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9535ad74c5f053e2b7c38787200603cc3302ebad.1630704099.git.ashutosh.dixit@intel.com> Subject: Re: [igt-dev] [PATCH i-g-t 1/2] i915/i915_fb_tiling: Check if device supports tiling List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Ashutosh Dixit Cc: igt-dev@lists.freedesktop.org List-ID: On Fri, Sep 03, 2021 at 02:24:41PM -0700, Ashutosh Dixit wrote: > From: Vanshidhar Konda > > Skip this test if the platform does not support setting tiling for frame > buffer object. > > Signed-off-by: Vanshidhar Konda > Signed-off-by: Ashutosh Dixit Reviewed-by: Imre Deak > --- > tests/i915/i915_fb_tiling.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tests/i915/i915_fb_tiling.c b/tests/i915/i915_fb_tiling.c > index 725ad3ad34b..cafa5233c9d 100644 > --- a/tests/i915/i915_fb_tiling.c > +++ b/tests/i915/i915_fb_tiling.c > @@ -32,6 +32,8 @@ igt_simple_main > struct igt_fb fb; > int ret; > > + igt_require(gem_available_fences(drm_fd) > 0); > + > igt_create_fb(drm_fd, 512, 512, DRM_FORMAT_XRGB8888, > I915_FORMAT_MOD_X_TILED, &fb); > > -- > 2.31.1 >