diff options
author | Yinghai Lu <[email protected]> | 2014-01-03 18:28:06 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-01-07 11:36:55 -0700 |
commit | 545b0a746b79f54a45cd3b595dce67abbf35233f (patch) | |
tree | da9b8ceb1a94fe321bfd5308d557d2f09533e449 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 5acc4ce44cd0a9cf5dbcfe50085708e9156e0177 (diff) |
agp/intel: Support 64-bit GMADR
Per the Intel 915G/915GV/... Chipset spec (document number 301467-005),
GMADR is a standard PCI BAR.
The PCI core reads GMADR at enumeration-time. Use pci_bus_address()
instead of reading it again in the driver. This works correctly for both
32-bit and 64-bit BARs. The spec above only mentions 32-bit GMADR, but
Yinghai's patch (link below) indicates some devices have a 64-bit GMADR.
[bhelgaas: reworked starting from http://lkml.kernel.org/r/[email protected]]
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions