summaryrefslogtreecommitdiff
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-02-02 10:10:24 (GMT)
committer Jesse Barnes <jbarnes@virtuousgeek.org>2013-02-02 10:10:24 (GMT)
commitef866c7293e699b119ae61738e221857a36a5362 (patch) (side-by-side diff)
treea127e6641f52dd58196755ad6e2812d79ac33f5d
parent9dc0072e8d5a47fb0b2ada50fb897cb2c740bb40 (diff)
downloaddrm-ef866c7293e699b119ae61738e221857a36a5362.zip
drm-ef866c7293e699b119ae61738e221857a36a5362.tar.gz
intel: add more VLV PCI IDs
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--intel/intel_chipset.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index a2eb894..ebec2f8 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -84,6 +84,9 @@
#define PCI_CHIP_HASWELL_CRW_S_GT2_PLUS 0x0D3A
#define PCI_CHIP_VALLEYVIEW_PO 0x0f30 /* power on board */
+#define PCI_CHIP_VALLEYVIEW_1 0x0f31
+#define PCI_CHIP_VALLEYVIEW_2 0x0f32
+#define PCI_CHIP_VALLEYVIEW_3 0x0f33
#define IS_830(dev) (dev == 0x3577)
#define IS_845(dev) (dev == 0x2562)
@@ -124,7 +127,10 @@
#define IS_I965GM(dev) (dev == 0x2A02)
-#define IS_VALLEYVIEW(dev) (dev == 0xf30)
+#define IS_VALLEYVIEW(dev) (((dev) == PCI_CHIP_VALLEYVIEW_PO) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_1) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_2) || \
+ ((dev) == PCI_CHIP_VALLEYVIEW_3))
#define IS_GEN4(dev) (dev == 0x2972 || \
dev == 0x2982 || \