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>
Showing
- drivers/gpu/drm/i915/i915_drv.h 6 additions, 11 deletionsdrivers/gpu/drm/i915/i915_drv.h
- drivers/gpu/drm/i915/i915_gem.c 8 additions, 16 deletionsdrivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/i915/i915_gem_dmabuf.c 7 additions, 6 deletionsdrivers/gpu/drm/i915/i915_gem_dmabuf.c
- drivers/gpu/drm/i915/i915_gem_tiling.c 10 additions, 8 deletionsdrivers/gpu/drm/i915/i915_gem_tiling.c
Loading
Please register or sign in to comment