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

Lucas De Marchi
2019-07-15T21:51:45Z

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

Same as GEN11.

Signed-off-by: Javier Villavicencio <javier.villavicencio@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@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();