[igt-dev] [Intel-gfx] [PATCH i-g-t] intel_gpu_top: Add compute class names

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Feb 10 16:18:50 UTC 2023


Hi Tvrtko,

On 2023-02-10 at 15:22:07 +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> No one remembered to add names for the new compute engines.

Actually there was patch:
https://patchwork.freedesktop.org/series/112674/
intel_gpu_top: Add display name for compute engine class
Submitted by Christopher Snowhill on Jan. 11, 2023, 1:22 p.m. 

What prevented me from merge was From: != s-o-b

Christopher Snowhill <kode54 at gmail.com> != Christopher Snowhill <chris at kode54.net>

warning from checkpatch.pl but if you think it is minor warn
you are free to give r-b and to merge that.

+cc Christopher

Regards,
Kamil

> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> ---
>  tools/intel_gpu_top.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c
> index c043c8960dd0..e13e35b71f4b 100644
> --- a/tools/intel_gpu_top.c
> +++ b/tools/intel_gpu_top.c
> @@ -281,6 +281,8 @@ static const char *class_display_name(unsigned int class)
>  		return "Video";
>  	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
>  		return "VideoEnhance";
> +	case I915_ENGINE_CLASS_COMPUTE:
> +		return "Compute";
>  	default:
>  		return "[unknown]";
>  	}
> @@ -297,6 +299,8 @@ static const char *class_short_name(unsigned int class)
>  		return "VCS";
>  	case I915_ENGINE_CLASS_VIDEO_ENHANCE:
>  		return "VECS";
> +	case I915_ENGINE_CLASS_COMPUTE:
> +		return "CCS";
>  	default:
>  		return "UNKN";
>  	}
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list