]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: use for_each_sg_page for setting up the gtt ptes
authorImre Deak <imre.deak@intel.com>
Mon, 18 Feb 2013 17:28:04 +0000 (19:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 23 Mar 2013 11:17:31 +0000 (12:17 +0100)
commit6e995e231a90ce7c5ce2a9eae23c8e22f4388db1
tree980777b86f465ae8035415d67b59d03aa8320f43
parent90797e6d1ec0dfde6ba62a48b9ee3803887d6ed4
drm/i915: use for_each_sg_page for setting up the gtt ptes

The existing gtt setup code is correct - and so doesn't need to be fixed to
handle compact dma scatter lists similarly to the previous patches. Still,
take the for_each_sg_page macro into use, to get somewhat simpler code.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c