summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-02-14 15:32:31 +0000
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-06 09:34:35 -0800
commit295137046a353ce43a0eff6b665eb1c63dc6145c (patch)
treed09c077d7d8250cee8a473cedfbc2783053425dc /lib
parent068c21b56b710e20215e2c2e515ac072b6affb9c (diff)
bdw: Add gen8 to intel_gen()
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'lib')
-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;
}