From: Bjorn Helgaas Date: Sat, 4 Jan 2014 01:29:00 +0000 (-0700) Subject: agp/intel: Use pci_bus_address() to get GTTADR bus address X-Git-Tag: v3.14-rc1~132^2~7^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5e350f919acb8ef6961bc1b62e395f53cea123a;p=pandora-kernel.git agp/intel: Use pci_bus_address() to get GTTADR bus address Per the Intel 915G/915GV/... Chipset spec (document number 301467-005), GTTADR is a standard PCI BAR. The PCI core reads GTTADR 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 GTTADR, but we should still use the standard interface. Signed-off-by: Bjorn Helgaas Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed