Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D012113688 for ; Mon, 10 Jan 2022 04:30:04 +0000 (UTC) Date: Mon, 10 Jan 2022 06:28:32 +0200 From: Petri Latvala Message-ID: References: <20220107171035.2555834-1-gwan-gyeong.mun@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220107171035.2555834-1-gwan-gyeong.mun@intel.com> Subject: Re: [igt-dev] [PATCH] tests/i915/gem_userptr_blits: Skip sd-probe test for discrete platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Gwan-gyeong Mun Cc: igt-dev@lists.freedesktop.org, matthew.auld@intel.com List-ID: On Fri, Jan 07, 2022 at 07:10:35PM +0200, Gwan-gyeong Mun wrote: > The DRM_IOCTL_I915_GEM_SET_DOMAIN ioctl does not support for discrete gpu. > It skips sd-probe test for discrete platforms. > > https://patchwork.freedesktop.org/patch/msgid/20210715101536.2606307-5-matthew.auld@intel.com > > Cc: Matthew Auld > Signed-off-by: Gwan-gyeong Mun > --- > tests/i915/gem_userptr_blits.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c > index a4dca4c0..c1c3bf87 100644 > --- a/tests/i915/gem_userptr_blits.c > +++ b/tests/i915/gem_userptr_blits.c > @@ -2374,8 +2374,11 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL) > igt_subtest("forbidden-operations") > test_forbidden_ops(fd); > > - igt_subtest("sd-probe") > + igt_subtest("sd-probe") { > + igt_skip_on_f(gem_has_lmem(fd), > + "GEM_SET_DOMAIN does not support for discrete platform"); You need a newline at the end of this string. And a grammar correction, "GEM_SET_DOMAIN not supported on discrete platforms\n" -- Petri Latvala > test_sd_probe(fd); > + } > > igt_subtest("set-cache-level") > test_set_caching(fd); > -- > 2.34.1 >