drm/i915: Refactor calls to unmap_mapping_range
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jul 2009 07:18:50 +0000 (08:18 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 21:10:53 +0000 (14:10 -0700)
commit901782b21ecb2af4dde1598b3142bf0e80b20853
tree99204bca2818a6cfe8039ae55236a6fedded74f9
parentfccdaba4317604602e5802c3afc4021f2fb8132e
drm/i915: Refactor calls to unmap_mapping_range

As we call unmap_mapping_range() twice in identical fashion, refactor
and attempt to explain why we need to call unmap_mapping_range().

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