[Intel-gfx] [PATCH] drm/i915/execlists: Use vfunc to check engine submission mode

Chris Wilson chris at chris-wilson.co.uk
Mon Oct 28 13:09:05 UTC 2019


Quoting Michal Wajdeczko (2019-10-28 12:57:03)
> diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.h b/drivers/gpu/drm/i915/gt/intel_lrc.h
> index 99dc576a4e25..23dde9083349 100644
> --- a/drivers/gpu/drm/i915/gt/intel_lrc.h
> +++ b/drivers/gpu/drm/i915/gt/intel_lrc.h
> @@ -145,4 +145,6 @@ struct intel_engine_cs *
>  intel_virtual_engine_get_sibling(struct intel_engine_cs *engine,
>                                  unsigned int sibling);
>  
> +bool intel_engine_in_execlists_submission_mode(struct intel_engine_cs *engine);

Planning to use it outside? Should we have a dedicated flag for the
submission mode?
-Chris


More information about the Intel-gfx mailing list