From: Bjorn Helgaas Date: Mon, 6 Jan 2014 22:21:16 +0000 (-0700) Subject: agp: Use pci_resource_start() to get CPU physical address for BAR X-Git-Tag: v3.14-rc1~132^2~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d68c5a271727e09ce4a26ea8b85cbb852e06650f;p=pandora-kernel.git 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 Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed