drm/i915: Use non-atomic kmap for slow copy paths
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 May 2010 13:15:34 +0000 (14:15 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 28 May 2010 18:02:36 +0000 (11:02 -0700)
commit99a03df57c82ec20848d2634f652c07ac3504b98
tree2ba5c9f606c4e1e8b903ed507229bd32195c3a7c
parent9b8c4a0b215e603497daebe8ecbc9b1f0f035808
drm/i915: Use non-atomic kmap for slow copy paths

As we do not have a requirement to be atomic and avoid sleeping whilst
performing the slow copy for shmem based pread and pwrite, we can use
kmap instead, thus simplifying the code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c