Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- tools/quick_dump/chipset.i | 2 ++ tools/quick_dump/chipset_macro_wrap.c | 5 +++++ tools/quick_dump/quick_dump.py | 2 ++ tools/quick_dump/skylake | 1 + 4 files changed, 10 insertions(+) create mode 100644 tools/quick_dump/skylake diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i index a6fa703..90db40e 100644 --- a/tools/quick_dump/chipset.i +++ b/tools/quick_dump/chipset.i @@ -11,6 +11,7 @@ extern int is_valleyview(unsigned short pciid); extern int is_cherryview(unsigned short pciid); extern int is_haswell(unsigned short pciid); extern int is_broadwell(unsigned short pciid); +extern int is_skylake(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); @@ -28,6 +29,7 @@ extern int is_valleyview(unsigned short pciid); extern int is_cherryview(unsigned short pciid); extern int is_haswell(unsigned short pciid); extern int is_broadwell(unsigned short pciid); +extern int is_skylake(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/chipset_macro_wrap.c b/tools/quick_dump/chipset_macro_wrap.c index 862281e..7b67340 100644 --- a/tools/quick_dump/chipset_macro_wrap.c +++ b/tools/quick_dump/chipset_macro_wrap.c @@ -33,6 +33,11 @@ int is_broadwell(unsigned short pciid) return IS_BROADWELL(pciid); } +int is_skylake(unsigned short pciid) +{ + return IS_SKYLAKE(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 index 46e883e..702a9d5 100755 --- a/tools/quick_dump/quick_dump.py +++ b/tools/quick_dump/quick_dump.py @@ -72,6 +72,8 @@ def autodetect_chipset(): return open('haswell', 'r') elif chipset.is_broadwell(devid): return open('broadwell', 'r') + elif chipset.is_skylake(devid): + return open('skylake', 'r') else: print("Autodetect of devid " + hex(devid) + " failed") return None diff --git a/tools/quick_dump/skylake b/tools/quick_dump/skylake new file mode 100644 index 0000000..95baca1 --- /dev/null +++ b/tools/quick_dump/skylake @@ -0,0 +1 @@ +skl_display.txt -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx