bdw: Add gen8 to intel_gen()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 14 Feb 2013 15:32:31 +0000 (15:32 +0000)
committerBen Widawsky <benjamin.widawsky@intel.com>
Wed, 6 Nov 2013 17:34:35 +0000 (09:34 -0800)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
lib/intel_drm.c

index 4656b49..cde068b 100644 (file)
@@ -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;
 }