From: Mengdong Lin <mengdong.lin@xxxxxxxxx> This patch exposes is_haswell() to python, to be used by device auto-detection. Signed-off-by: Mengdong Lin <mengdong.lin@xxxxxxxxx> 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx