From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D4D16E1B7 for ; Mon, 19 Apr 2021 06:55:57 +0000 (UTC) Date: Sun, 18 Apr 2021 23:42:54 -0700 Message-ID: <87sg3mpyfl.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20210419060928.671111-1-viswax.krishna.raveendra.talabattula@intel.com> References: <20210419060928.671111-1-viswax.krishna.raveendra.talabattula@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH] [i-g-t] tests/i915: Remove I915_CACHING_NONE 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: viswax.krishna.raveendra.talabattula@intel.com Cc: igt-dev@lists.freedesktop.org, hariom.pandey@intel.com List-ID: On Sun, 18 Apr 2021 23:09:28 -0700, wrote: > > From: Viswa Krishna Raveendra Talabattula > > The userptr memory does not support I915_CACHING_NONE(no caching) level > as per the below commit related to i915 in the kernel > > drm/i915: Reject more ioctls for userptr, v2. > > Hence removing the cache level of I915_CACHING_NONE from the test case Instead of dropping the test should we check for -ENXIO return? > Cc: Maarten Lankhorst > Signed-off-by: Viswa Krishna Raveendra Talabattula > --- > tests/i915/gem_userptr_blits.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c > index aad5f141..f0c63535 100644 > --- a/tests/i915/gem_userptr_blits.c > +++ b/tests/i915/gem_userptr_blits.c > @@ -2011,7 +2011,6 @@ static void test_sd_probe(int i915) > static void test_set_caching(int i915) > { > const int levels[] = { > - I915_CACHING_NONE, > I915_CACHING_CACHED, > }; > uint32_t handle; > -- > 2.30.0 > > _______________________________________________ > igt-dev mailing list > igt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/igt-dev _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev