quick_dump: Add basic haswell support

Mostly using the IVB registers + a few I grabbed from i915_reg.h

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky
2013-05-22 16:15:04 -07:00
parent 099a92ea28
commit 1109c5acfd
4 changed files with 15 additions and 0 deletions
+5
View File
@@ -16,6 +16,11 @@ int is_valleyview(unsigned short pciid)
return IS_VALLEYVIEW(pciid);
}
int is_haswell(unsigned short pciid)
{
return IS_HASWELL(pciid);
}
/* Simple helper because I couldn't make this work in the script */
unsigned short pcidev_to_devid(struct pci_device *pdev)
{