[igt-dev] [PATCH v13 5/9] lib: igt_gt: use flags in intel_execution_engines2

Andi Shyti andi.shyti at intel.com
Tue Mar 19 23:44:37 UTC 2019


Having a variable flags declared in the
'intel_execution_engines2' structure comes very handy when
handling engines that are configurable in different ways.

Signed-off-by: Andi Shyti <andi.shyti at intel.com>
---
 lib/igt_gt.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_gt.h b/lib/igt_gt.h
index 475c0b3c3cc6..9f28af8cfb5c 100644
--- a/lib/igt_gt.h
+++ b/lib/igt_gt.h
@@ -95,6 +95,7 @@ extern const struct intel_execution_engine2 {
 	const char *name;
 	int class;
 	int instance;
+	uint64_t flags;
 } intel_execution_engines2[];
 
 unsigned int
-- 
2.20.1



More information about the igt-dev mailing list