[igt-dev] [PATCH 05/10] lib/instdone.c/tgl: Add Gen12 support

Lucas De Marchi lucas.demarchi at intel.com
Mon Jul 15 21:51:31 UTC 2019


From: Javier Villavicencio <javier.villavicencio at intel.com>

Same as GEN11.

Signed-off-by: Javier Villavicencio <javier.villavicencio at intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 lib/instdone.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/instdone.c b/lib/instdone.c
index a83f8836..aa6436c6 100644
--- a/lib/instdone.c
+++ b/lib/instdone.c
@@ -428,7 +428,7 @@ init_gen11_instdone(void)
 bool
 init_instdone_definitions(uint32_t devid)
 {
-	if (IS_GEN11(devid)) {
+	if (IS_GEN11(devid) || IS_GEN12(devid)) {
 		init_gen11_instdone();
 	} else if (IS_GEN8(devid) || IS_GEN9(devid) || IS_GEN10(devid)) {
 		init_gen8_instdone();
-- 
2.21.0



More information about the igt-dev mailing list