]> git.baikalelectronics.ru Git - kernel.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>
Sat, 23 Mar 2013 11:16:36 +0000 (12:16 +0100)
commitc1b691226c3b45ec7ff712f8f4d52f1c2c7bffed
tree39fb959984569314651ea53a7e386e758225adeb
parent305f7395378b8bbd743b3c797a92243c5fd61d09
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