mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
quick_dump/bdw: support Broadwell in device auto-detection
This patch exposes is_broadwell() to python, to be used by device auto-detection. Signed-off-by: Mengdong Lin <mengdong.lin@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
committed by
Ben Widawsky
parent
ee4318931f
commit
d566972336
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user