summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-10-30 19:38:18 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-31 10:12:39 +0100
commit9663f2e6a6cf3f82b06d8fb699b11b80f92553ba (patch)
tree108ce4d443e87c8ddc00c028c995b83a6d01e420 /drivers/gpu
parentfd9409343521eac22b6ed51686128a643c7c976b (diff)
downloadop-kernel-dev-9663f2e6a6cf3f82b06d8fb699b11b80f92553ba.zip
op-kernel-dev-9663f2e6a6cf3f82b06d8fb699b11b80f92553ba.tar.gz
resources: add io-mapping functions to dynamically map large device apertures
Impact: add new generic io_map_*() APIs Graphics devices have large PCI apertures which would consume a significant fraction of a 32-bit address space if mapped during driver initialization. Using ioremap at runtime is impractical as it is too slow. This new set of interfaces uses atomic mappings on 32-bit processors and a large static mapping on 64-bit processors to provide reasonable 32-bit performance and optimal 64-bit performance. The current implementation sits atop the io_map_atomic fixmap-based mechanism for 32-bit processors. This includes some editorial suggestions from Randy Dunlap for Documentation/io-mapping.txt Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud