diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i index 524ea7d9..f1cc3685 100644 --- a/tools/quick_dump/chipset.i +++ b/tools/quick_dump/chipset.i @@ -8,6 +8,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 int is_broadwell(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); diff --git a/tools/quick_dump/intel_chipset.c b/tools/quick_dump/intel_chipset.c index c26d36c2..392b85ec 100644 --- a/tools/quick_dump/intel_chipset.c +++ b/tools/quick_dump/intel_chipset.c @@ -21,6 +21,11 @@ int is_haswell(unsigned short pciid) return IS_HASWELL(pciid); } +int is_broadwell(unsigned short pciid) +{ + return IS_BROADWELL(pciid); +} + /* Simple helper because I couldn't make this work in the script */ unsigned short pcidev_to_devid(struct pci_device *pdev) { diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py old mode 100755 new mode 100644 index cbc10268..ff151d17 --- a/tools/quick_dump/quick_dump.py +++ b/tools/quick_dump/quick_dump.py @@ -61,6 +61,8 @@ if args.autodetect: args.profile = open('valleyview', 'r') elif chipset.is_haswell(devid): args.profile = open('haswell', 'r') + elif chipset.is_broadwell(devid): + args.profile = open('broadwell', 'r') else: print("Autodetect of devid " + hex(devid) + " failed")