summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-02-18 20:50:01 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2013-03-27 11:13:44 +0200
commit93d12593e5f1b251a09b112d7beaf5cfca026896 (patch)
tree8755f559e7e3dc463e92d0347d14da9c20360955
parent6e55fd7dee48dabcd46939df1aa8729eba426298 (diff)
downloadlibdrm-93d12593e5f1b251a09b112d7beaf5cfca026896.tar.gz
libdrm-93d12593e5f1b251a09b112d7beaf5cfca026896.tar.bz2
libdrm-93d12593e5f1b251a09b112d7beaf5cfca026896.zip
intel_chipset: Fix up VLV confusion
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
-rw-r--r--intel/intel_chipset.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 8af5acfe..2760dc8c 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -192,15 +192,15 @@
(devid) == PCI_CHIP_SANDYBRIDGE_S)
#define IS_GEN7(devid) (IS_IVYBRIDGE(devid) || \
- IS_HASWELL(devid))
+ IS_HASWELL(devid) || \
+ IS_VALLEYVIEW(devid))
#define IS_IVYBRIDGE(devid) ((devid) == PCI_CHIP_IVYBRIDGE_GT1 || \
(devid) == PCI_CHIP_IVYBRIDGE_GT2 || \
(devid) == PCI_CHIP_IVYBRIDGE_M_GT1 || \
(devid) == PCI_CHIP_IVYBRIDGE_M_GT2 || \
(devid) == PCI_CHIP_IVYBRIDGE_S || \
- (devid) == PCI_CHIP_IVYBRIDGE_S_GT2 || \
- (devid) == PCI_CHIP_VALLEYVIEW_PO)
+ (devid) == PCI_CHIP_IVYBRIDGE_S_GT2)
#define IS_VALLEYVIEW(devid) ((devid) == PCI_CHIP_VALLEYVIEW_PO || \
(devid) == PCI_CHIP_VALLEYVIEW_1 || \