summaryrefslogtreecommitdiff
path: root/intel_driver.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-07-27 17:11:25 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-07-27 17:13:41 +0800
commit4e87262a7fd84708aa674ba66bb8413eb88ca042 (patch)
tree012658bb909fd1068fe8a2e883128d14cf0ae638 /intel_driver.h
parentc3f90f889276135e93e2ee8b41829d0f8dc39092 (diff)
downloadlibva-intel-driver-4e87262a7fd84708aa674ba66bb8413eb88ca042.tar.gz
libva-intel-driver-4e87262a7fd84708aa674ba66bb8413eb88ca042.tar.bz2
libva-intel-driver-4e87262a7fd84708aa674ba66bb8413eb88ca042.zip
i965_drv_video: Eanble VAAPI on IGDNG
Diffstat (limited to 'intel_driver.h')
-rw-r--r--intel_driver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intel_driver.h b/intel_driver.h
index e0271eb..12fd6e0 100644
--- a/intel_driver.h
+++ b/intel_driver.h
@@ -107,6 +107,9 @@ struct intel_region
#define PCI_CHIP_G45_G 0x2E22
#define PCI_CHIP_G41_G 0x2E32
+#define PCI_CHIP_IGDNG_D_G 0x0042
+#define PCI_CHIP_IGDNG_M_G 0x0046
+
#define IS_G45(devid) (devid == PCI_CHIP_IGD_E_G || \
devid == PCI_CHIP_Q45_G || \
devid == PCI_CHIP_G45_G || \
@@ -114,4 +117,8 @@ struct intel_region
#define IS_GM45(devid) (devid == PCI_CHIP_GM45_GM)
#define IS_G4X(devid) (IS_G45(devid) || IS_GM45(devid))
+#define IS_IGDNG_D(devid) (devid == PCI_CHIP_IGDNG_D_G)
+#define IS_IGDNG_M(devid) (devid == PCI_CHIP_IGDNG_M_G)
+#define IS_IGDNG(devid) (IS_IGDNG_D(devid) || IS_IGDNG_M(devid))
+
#endif /* _INTEL_DRIVER_H_ */