linux/drivers/char/agp
Bjorn Helgaas d357253299 agp/intel: Use CPU physical address, not bus address, for ioremap()
In i810_setup(), i830_setup(), and i9xx_setup(), we use the result of
pci_bus_address() as an argument to ioremap() and to compute gtt_phys_addr.
These should use pci_resource_start() instead because we want the CPU
physical address, not the bus address.

If there were an AGP device behind a host bridge that translated addresses,
e.g., a PNP0A08 device with _TRA != 0, this would fix a bug.  I'm not aware
of any of those, but they are possible.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-01-07 11:37:18 -07:00
..
agp.h agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
ali-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
alpha-agp.c PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) 2013-06-05 13:49:36 -06:00
amd64-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
amd-k7-agp.c agp: Use pci_resource_start() to get CPU physical address for BAR 2014-01-07 11:36:35 -07:00
ati-agp.c agp: Use pci_resource_start() to get CPU physical address for BAR 2014-01-07 11:36:35 -07:00
backend.c agp: fix scratch page cleanup 2012-01-26 18:36:48 +00:00
compat_ioctl.c agp: kill agp_flush_chipset and corresponding ioctl 2010-11-23 20:14:45 +00:00
compat_ioctl.h agp: kill agp_flush_chipset and corresponding ioctl 2010-11-23 20:14:45 +00:00
efficeon-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
frontend.c drm, agpgart: Use pgprot_writecombine for AGP maps and make the MTRR optional 2013-05-31 13:37:31 +10:00
generic.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
hp-agp.c [IA64] agp/hp-agp: Allow binding user memory to the AGP GART 2011-08-23 13:31:59 -07:00
i460-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
intel-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
intel-agp.h agp/intel: Use pci_bus_address() to get GTTADR bus address 2014-01-07 11:37:12 -07:00
intel-gtt.c agp/intel: Use CPU physical address, not bus address, for ioremap() 2014-01-07 11:37:18 -07:00
isoch.c agp: use dev_printk when possible 2008-08-12 10:13:38 +10:00
Kconfig Revert "agp: AMD AGP is used on UP1100 & UP1500 alpha boxen" 2011-02-04 09:42:25 +10:00
Makefile agp/intel: make intel-gtt.c into a real source file 2010-09-08 21:20:06 +01:00
nvidia-agp.c agp: Use pci_resource_start() to get CPU physical address for BAR 2014-01-07 11:36:35 -07:00
parisc-agp.c parisc: agp/parisc-agp: allow binding of user memory to the AGP GART 2013-07-31 23:42:00 +02:00
sgi-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
sis-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
sworks-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
uninorth-agp.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
via-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00