diff options
author | 2014-01-03 18:26:58 -0700 | |
---|---|---|
committer | 2014-01-06 17:49:22 -0700 | |
commit | e501b3d87f003dfad8fcbd0f55ae17ea52495a56 (patch) | |
tree | 1307d77ead535d134b6f62df53c923cf1247baa6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: Add pci_bus_address() to get bus address of a BAR (diff) | |
download | linux-dev-e501b3d87f003dfad8fcbd0f55ae17ea52495a56.tar.xz linux-dev-e501b3d87f003dfad8fcbd0f55ae17ea52495a56.zip |
agp: Support 64-bit APBASE
Per the AGP 3.0 spec, APBASE is a standard PCI BAR and may be either 32
bits or 64 bits wide. Many drivers read APBASE directly, but they only
handled 32-bit BARs.
The PCI core reads APBASE 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.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions