diff options
author | 2014-01-06 15:21:16 -0700 | |
---|---|---|
committer | 2014-01-07 11:36:35 -0700 | |
commit | d68c5a271727e09ce4a26ea8b85cbb852e06650f (patch) | |
tree | 58f48c1f956a0a18f7dff57718ca19e0f4d2b6b1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | agp: Support 64-bit APBASE (diff) | |
download | linux-dev-d68c5a271727e09ce4a26ea8b85cbb852e06650f.tar.xz linux-dev-d68c5a271727e09ce4a26ea8b85cbb852e06650f.zip |
agp: Use pci_resource_start() to get CPU physical address for BAR
amd_irongate_configure(), ati_configure(), and nvidia_configure() call
ioremap() on an address read directly from a BAR. But a BAR contains a
bus address, and ioremap() expects a CPU physical address. Use
pci_resource_start() to obtain the physical address.
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