On Thu, 14 Oct 2021 12:42:38 -0700, <john.c.harri...@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.

Reply via email to