[igt-dev] [PATCH i-g-t] tests/i915/drm_fdinfo: Parse compute as well

Nerlige Ramappa, Umesh umesh.nerlige.ramappa at intel.com
Tue Jun 14 00:47:20 UTC 2022


Parse compute engines as well if available.

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
---
 lib/igt_drm_fdinfo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_drm_fdinfo.c b/lib/igt_drm_fdinfo.c
index 250d9e89..5beb30b0 100644
--- a/lib/igt_drm_fdinfo.c
+++ b/lib/igt_drm_fdinfo.c
@@ -60,6 +60,7 @@ static int parse_engine(char *line, struct drm_client_fdinfo *info,
 		"copy",
 		"video",
 		"video-enhance",
+		"compute",
 	};
 	ssize_t name_len;
 	char *name, *p;
-- 
2.25.1



More information about the igt-dev mailing list