[igt-dev] [PATCH i-g-t 4/4] lib/i915/i915_drm_local: Add COMPUTE class engine

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Oct 21 07:17:26 UTC 2021


On Thu, Oct 21, 2021 at 10:05:08AM +0530, priyanka.dandamudi at intel.com wrote:
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> 
> Add I915_ENGINE_CLASS_COMPUTE define value.
> 
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
> Cc: Arjun Melkaveri <arjun.melkaveri at intel.com>
> ---
>  lib/i915/i915_drm_local.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
> index a6afdd28..74b85c85 100644
> --- a/lib/i915/i915_drm_local.h
> +++ b/lib/i915/i915_drm_local.h
> @@ -19,6 +19,7 @@ extern "C" {
>   * or local_ prefix and without any #ifndef's. Attempt should be made to
>   * clean these up when kernel uapi headers are sync'd.
>   */
> +#define I915_ENGINE_CLASS_COMPUTE 4
>  
>  /* Needed for PXP */
>  #define I915_GEM_CREATE_EXT_PROTECTED_CONTENT  1
> -- 
> 2.25.1
> 

This patch should be first, otherwise we got compile error on former
three patches due to lack of definition. Please reorder.

--
Zbigniew


More information about the igt-dev mailing list