2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/drivers/char/agp
Bjorn Helgaas e501b3d87f 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>
2014-01-06 17:49:22 -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: Support 64-bit APBASE 2014-01-06 17:49:22 -07:00
ati-agp.c agp: Support 64-bit APBASE 2014-01-06 17:49:22 -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 drm/i915: Kill off now unused gen6+ AGP code 2012-11-11 23:51:43 +01:00
intel-gtt.c drm/i915: Disable WC PTE updates to w/a buggy IOMMU on ILK 2013-02-20 00:21:49 +01: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: Support 64-bit APBASE 2014-01-06 17:49:22 -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