[igt-dev] [PATCH i-g-t v2 2/3] i915/gem_engine_topology: Add compute class

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


On Thu, 21 Oct 2021 23:12:44 -0700, <priyanka.dandamudi at intel.com> wrote:
>
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Add compute class to engine base names.

Also probably had Zbigniew's R-b previously.

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

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


More information about the igt-dev mailing list