]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: handle walking compact dma scatter lists
authorImre Deak <imre.deak@intel.com>
Mon, 18 Feb 2013 17:28:02 +0000 (19:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Mar 2013 08:50:44 +0000 (09:50 +0100)
commitdfc303e4bb696bfc2243dc6378a3659e0d2331b4
tree9b1c553dd20ccff1bc81876ae94f4627f8eb2328
parentf5ddf69736fb328800ccd1a06fe69ad2e830adbe
drm/i915: handle walking compact dma scatter lists

So far the assumption was that each dma scatter list entry contains only
a single page. This might not hold in the future, when we'll introduce
compact scatter lists, so prepare for this everywhere in the i915 code
where we walk such a list.

We'll fix the place _creating_ these lists separately in the next patch
to help the reviewing/bisectability.

Reference: http://www.spinics.net/lists/dri-devel/msg33917.html
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_dmabuf.c
drivers/gpu/drm/i915/i915_gem_tiling.c