[Intel-gfx] [PATCH v2 0/4] drm/i915: handle compact dma scatter lists

Imre Deak imre.deak at intel.com
Mon Feb 18 18:28:00 CET 2013


This series adds support for handling compact dma scatter lists to the
i915 driver. This is a dependency for the related upcoming change in the
PRIME interface:

http://www.spinics.net/lists/dri-devel/msg33917.html

v2:
- Add the sg_for_each_page macro to /lib/scatterlist instead of
  drivers/drm. This is a separate patchset being merged through the
  -mm tree.
- Use the sg_for_each_page macro in the gtt pte setup code too.

Imre Deak (4):
  drm: handle compact dma scatter lists in drm_clflush_sg()
  drm/i915: handle walking compact dma scatter lists
  drm/i915: create compact dma scatter lists for gem objects
  drm/i915: use for_each_sg_page for setting up the gtt ptes

 drivers/gpu/drm/drm_cache.c            |    7 ++--
 drivers/gpu/drm/i915/i915_drv.h        |   17 +++-----
 drivers/gpu/drm/i915/i915_gem.c        |   55 ++++++++++++++------------
 drivers/gpu/drm/i915/i915_gem_dmabuf.c |   13 ++++---
 drivers/gpu/drm/i915/i915_gem_gtt.c    |   67 ++++++++++++--------------------
 drivers/gpu/drm/i915/i915_gem_tiling.c |   18 +++++----
 6 files changed, 80 insertions(+), 97 deletions(-)

-- 
1.7.10.4




More information about the Intel-gfx mailing list