From: Ben Widawsky Date: Sun, 3 Nov 2013 04:06:59 +0000 (-0700) Subject: drm/i915/bdw: IS_GEN8 definition X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d2980845b7c45cb4305031eb5ea1891b11c4bc36;p=openwrt%2Fstaging%2Fblogic.git drm/i915/bdw: IS_GEN8 definition No PCI ids yet, so nothing should happen. Rebase-Note: This one needs replacement ;-) Signed-off-by: Ben Widawsky Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index b12d942ab09c..5a29dd3898aa 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -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<