[igt-dev] [PATCH i-g-t 1/2] lib/drm_fdinfo: Check for compute engines when parsing
Umesh Nerlige Ramappa
umesh.nerlige.ramappa at intel.com
Fri Mar 31 19:59:14 UTC 2023
DG2 has compute engine support. When parsing the fdinfo for available engines,
also check for compute. This fixes drm_fdinfo at basic for platforms where compute
is present.
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.34.1
More information about the igt-dev
mailing list