[Intel-gfx] [PATCH] quick_dump/hsw: support haswell in device auto-detection
mengdong.lin at intel.com
mengdong.lin at intel.com
Mon Aug 26 05:11:54 CEST 2013
From: Mengdong Lin <mengdong.lin at intel.com>
This patch exposes is_haswell() to python, to be used by device auto-detection.
Signed-off-by: Mengdong Lin <mengdong.lin at intel.com>
diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i
index 69dc8df..4b13487 100644
--- a/tools/quick_dump/chipset.i
+++ b/tools/quick_dump/chipset.i
@@ -7,6 +7,7 @@
extern int is_sandybridge(unsigned short pciid);
extern int is_ivybridge(unsigned short pciid);
extern int is_valleyview(unsigned short pciid);
+extern int is_haswell(unsigned short pciid);
extern struct pci_device *intel_get_pci_device();
extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
extern uint32_t intel_register_read(uint32_t reg);
@@ -19,6 +20,7 @@ extern uint32_t intel_dpio_reg_read(uint32_t reg);
extern int is_sandybridge(unsigned short pciid);
extern int is_ivybridge(unsigned short pciid);
+extern int is_haswell(unsigned short pciid);
extern int is_valleyview(unsigned short pciid);
extern struct pci_device *intel_get_pci_device();
extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
--
1.8.1.2
More information about the Intel-gfx
mailing list