linux-kernel-test/drivers/char/agp
Michel Dänzer 52f072cb08 agp/uninorth: Allow larger aperture sizes on pre-U3 bridges.
Using the radeon KMS test functionality, I verified that the AGP bridge of the
Intrepid2 chipset in my PowerBook supports aperture sizes up to 256M. So allow
aperture sizes up to 256M on pre-U3 bridges as well, and bump the default size
to 256M. It's possible that older revisions only support smaller sizes, but
it'll be easy to verify that with the raden KMS test functionality. Also,
there's only a problem on an actual attempt to access the aperture beyond the
maximum size supported by the hardware, and non-KMS X still defaults to using
only 32M.

Also use ARRAY_SIZE for the aperture size arrays.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-08-20 10:29:26 +10:00
..
agp.h agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
ali-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
alpha-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
amd64-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
amd-k7-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
ati-agp.c agp: add user mapping support to ATI AGP bridge. 2009-06-19 10:52:57 +10:00
backend.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
compat_ioctl.c agp: more boolean conversions. 2008-06-19 10:42:17 +10:00
compat_ioctl.h agp: add chipset flushing support to AGP interface 2008-02-05 14:33:32 +10:00
efficeon-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
frontend.c Merge commit 'v2.6.26' into bkl-removal 2008-07-14 15:29:34 -06:00
generic.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
hp-agp.c Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 2009-06-20 10:15:30 -07:00
i460-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
intel-agp.c agp/intel: Make intel_i965_mask_memory use dma_addr_t for physical addresses 2009-06-20 14:16:59 +10:00
isoch.c agp: use dev_printk when possible 2008-08-12 10:13:38 +10:00
Kconfig x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU 2007-10-30 00:22:22 +01:00
Makefile [AGPGART] Fix modular agpgart ia64 allmodconfig 2007-02-20 14:18:01 -05:00
nvidia-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
parisc-agp.c parisc: parisc-agp.c - use correct page_mask function 2009-08-02 15:35:43 +02:00
sgi-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
sis-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
sworks-agp.c agp: switch AGP to use page array instead of unsigned long array 2009-06-19 10:21:42 +10:00
uninorth-agp.c agp/uninorth: Allow larger aperture sizes on pre-U3 bridges. 2009-08-20 10:29:26 +10:00
via-agp.c Update email addresses. 2008-10-20 12:50:03 -07:00