[Intel-gfx] [PATCH 4/5] drm/i915/guc: stop calling execlists_set_default_submission

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 6 01:02:23 UTC 2021


Quoting Daniele Ceraolo Spurio (2021-01-05 23:19:46)
> Initialize all required entries from guc_set_default_submission, instead
> of calling the execlists function. The previously inherited setup has
> been copied over from the execlist code and simplified by removing the
> execlists submission-specific parts.
> 
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>
> Cc: John Harrison <john.c.harrison at intel.com>
> ---
> +       if (INTEL_GEN(engine->i915) >= 12)
> +               engine->flags |= I915_ENGINE_HAS_RELATIVE_MMIO;

We should probably lift this to intel_engine_setup().

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list