[igt-dev] [PATCH i-g-t 1/4] i915/gem_engine_topology: Add compute class

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


On Thu, Oct 21, 2021 at 10:05:05AM +0530, priyanka.dandamudi at intel.com wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Add compute class to engine base names.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin 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/gem_engine_topology.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/i915/gem_engine_topology.c b/lib/i915/gem_engine_topology.c
> index 4e497a5c..729f42b0 100644
> --- a/lib/i915/gem_engine_topology.c
> +++ b/lib/i915/gem_engine_topology.c
> @@ -130,6 +130,7 @@ static const char *class_names[] = {
>  	[I915_ENGINE_CLASS_COPY]	  = "bcs",
>  	[I915_ENGINE_CLASS_VIDEO]	  = "vcs",
>  	[I915_ENGINE_CLASS_VIDEO_ENHANCE] = "vecs",
> +	[I915_ENGINE_CLASS_COMPUTE]       = "ccs",
>  };
>  
>  static void init_engine(struct intel_execution_engine2 *e2,
> -- 
> 2.25.1
>

Ok, 

Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>

--
Zbigniew 


More information about the igt-dev mailing list