[Intel-gfx] [igt-dev] [PATCH v2 i-g-t] tests/i915: Skip gem_exec_fair on GuC based platforms

Dixit, Ashutosh ashutosh.dixit at intel.com
Fri Oct 15 14:52:46 UTC 2021


On Thu, 14 Oct 2021 12:42:38 -0700, <John.C.Harrison at Intel.com> 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.


More information about the Intel-gfx mailing list