[Intel-gfx] [PATCH i-g-t 02/26] skl: Add gen9 to intel_gen()

Damien Lespiau damien.lespiau at intel.com
Fri Sep 26 16:03:00 CEST 2014


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
 lib/intel_chipset.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/intel_chipset.c b/lib/intel_chipset.c
index 0828e44..fafd232 100644
--- a/lib/intel_chipset.c
+++ b/lib/intel_chipset.c
@@ -172,6 +172,8 @@ int intel_gen(uint32_t devid)
 		return 7;
 	if (IS_GEN8(devid))
 		return 8;
+	if (IS_GEN9(devid))
+		return 9;
 
 	return -1;
 }
-- 
1.8.3.1




More information about the Intel-gfx mailing list