summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/intel_drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_drm.c b/lib/intel_drm.c
index 4656b499..cde068b2 100644
--- a/lib/intel_drm.c
+++ b/lib/intel_drm.c
@@ -86,6 +86,8 @@ int intel_gen(uint32_t devid)
return 6;
if (IS_GEN7(devid))
return 7;
+ if (IS_GEN8(devid))
+ return 8;
return -1;
}