[Intel-gfx] [PATCH i-g-t] intel_gpu_top: Add compute class names
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Fri Feb 10 15:22:07 UTC 2023
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
No one remembered to add names for the new compute engines.
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 Intel-gfx
mailing list