]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i915: use io-mapping interfaces instead of a variety of mapping kludges
authorKeith Packard <keithp@keithp.com>
Fri, 31 Oct 2008 02:38:48 +0000 (19:38 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Oct 2008 09:12:40 +0000 (10:12 +0100)
commit0839ccb8ac6a9e2d5e175a4ae9c82b5c574d510d
treec231d0492e4c03ae8d33f2101f21ff2928e56710
parent9663f2e6a6cf3f82b06d8fb699b11b80f92553ba
i915: use io-mapping interfaces instead of a variety of mapping kludges

Impact: optimize/clean-up the IO mapping implementation of the i915 DRM driver

Switch the i915 device aperture mapping to the io-mapping interface, taking
advantage of the cleaner API to extend it across all of the mapping uses,
including both pwrite and relocation updates.

This dramatically improves performance on 64-bit kernels which were using
the same slow path as 32-bit non-HIGHMEM kernels prior to this patch.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c