drm/i915/bdw: IS_GEN8 definition
authorBen Widawsky <benjamin.widawsky@intel.com>
Sun, 3 Nov 2013 04:06:59 +0000 (21:06 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Nov 2013 09:57:59 +0000 (10:57 +0100)
No PCI ids yet, so nothing should happen.

Rebase-Note: This one needs replacement ;-)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h

index b12d942ab09c80f669a40e4b86729823b6ac2d5e..5a29dd3898aa0dfedbf5e25abd805651165c0054 100644 (file)
@@ -1749,6 +1749,7 @@ struct drm_i915_file_private {
 #define IS_GEN5(dev)   (INTEL_INFO(dev)->gen == 5)
 #define IS_GEN6(dev)   (INTEL_INFO(dev)->gen == 6)
 #define IS_GEN7(dev)   (INTEL_INFO(dev)->gen == 7)
+#define IS_GEN8(dev)   (INTEL_INFO(dev)->gen == 8)
 
 #define RENDER_RING            (1<<RCS)
 #define BSD_RING               (1<<VCS)