From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Oct 2021 07:52:46 -0700 Message-ID: <87k0iecpc1.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20211014194238.1078854-1-John.C.Harrison@Intel.com> References: <20211014194238.1078854-1-John.C.Harrison@Intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH v2 i-g-t] tests/i915: Skip gem_exec_fair on GuC based platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: John.C.Harrison@Intel.com Cc: IGT-Dev@Lists.FreeDesktop.Org, Intel-GFX@Lists.FreeDesktop.Org List-ID: On Thu, 14 Oct 2021 12:42:38 -0700, wrote: > > + /* > + * These tests are for a specific scheduling model which is > + * not currently implemented by GuC. So skip on GuC platforms. > + */ > + devid = intel_get_drm_devid(i915); > + igt_require((intel_gen(devid) < 12) || IS_TIGERLAKE(devid) || > + IS_ROCKETLAKE(devid) || IS_ALDERLAKE_S(devid)); As I hinted on v1 let's just do this here: igt_require(gem_has_guc_submission(i915)); So that we can can have a single unified way of detecting if GuC is being used throughout IGT. Today it is gem_has_guc_submission() and it works with the current kernel.