projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6a25c
)
Treat PPT like CPT as we do in the kernel
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 10 Oct 2011 18:24:42 +0000
(11:24 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 10 Oct 2011 18:24:42 +0000
(11:24 -0700)
Set the pch type to CPT if we detect a PPT as well.
lib/intel_pci.c
patch
|
blob
|
history
diff --git
a/lib/intel_pci.c
b/lib/intel_pci.c
index
db436be
..
7bc7466
100644
(file)
--- a/
lib/intel_pci.c
+++ b/
lib/intel_pci.c
@@
-82,7
+82,8
@@
intel_check_pch(void)
return;
if (pch_dev->vendor_id == 0x8086 &&
- (pch_dev->device_id & 0xff00) == 0x1c00)
+ (((pch_dev->device_id & 0xff00) == 0x1c00) ||
+ (pch_dev->device_id & 0xff00) == 0x1e00))
pch = PCH_CPT;
}