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:
Mengdong Lin
2013-08-25 23:07:22 -04:00
committed by Ben Widawsky
parent ee4318931f
commit d566972336
3 changed files with 8 additions and 0 deletions
Executable → Regular
+2
View File
@@ -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")