]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit67d5a50c0480d5d41e0423e6fa55984f9fd3381e
tree39fb959984569314651ea53a7e386e758225adeb
parent5bd4687e57bbacec20930f580d025aee9fa1f4d8
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