aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-04-09 06:27:59 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-04-09 15:54:32 -0400
commit8179f1f04b115786ba843f53e7f28f2ab14023fb (patch)
treea55d597f8b7f4cee803940e255ca9f76d0f2a408 /drivers/gpu/drm/i915/i915_drv.h
parent24d9c40140ff711d0f92db6975170c79209b2c8f (diff)
drm/i915/chv: IS_BROADWELL() should not be true for Cherryview
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 3ea9f7ea14f1..8d2f25e2808b 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1788,7 +1788,7 @@ struct drm_i915_cmd_table {
1788 (dev)->pdev->device == 0x010A) 1788 (dev)->pdev->device == 0x010A)
1789#define IS_VALLEYVIEW(dev) (INTEL_INFO(dev)->is_valleyview) 1789#define IS_VALLEYVIEW(dev) (INTEL_INFO(dev)->is_valleyview)
1790#define IS_HASWELL(dev) (INTEL_INFO(dev)->is_haswell) 1790#define IS_HASWELL(dev) (INTEL_INFO(dev)->is_haswell)
1791#define IS_BROADWELL(dev) (INTEL_INFO(dev)->gen == 8) 1791#define IS_BROADWELL(dev) (!INTEL_INFO(dev)->is_valleyview && IS_GEN8(dev))
1792#define IS_MOBILE(dev) (INTEL_INFO(dev)->is_mobile) 1792#define IS_MOBILE(dev) (INTEL_INFO(dev)->is_mobile)
1793#define IS_HSW_EARLY_SDV(dev) (IS_HASWELL(dev) && \ 1793#define IS_HSW_EARLY_SDV(dev) (IS_HASWELL(dev) && \
1794 ((dev)->pdev->device & 0xFF00) == 0x0C00) 1794 ((dev)->pdev->device & 0xFF00) == 0x0C00)