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

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Oct 25 16:13:16 UTC 2021


On Thu, 21 Oct 2021 23:12:43 -0700, <priyanka.dandamudi at intel.com> wrote:
>
> From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
>
> Add I915_ENGINE_CLASS_COMPUTE define value.

Please include previous R-b when posting patches, this already had
Zbigniew's R-b. Anyway:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

> 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
>


More information about the igt-dev mailing list