Skip to content

drm/i915: handle compact dma scatter lists

Imre Deak dri-devel intel-gfx lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm: handle compact dma scatter lists in drm_clflush_sg()drivers/gpu/drm/drm_cache.c+3 -40 replies
2/4drm/i915: handle walking compact dma scatter listsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gem_dmabuf.c +1 more+31 -410 replies
3/4drm/i915: create compact dma scatter lists for gem objectsdrivers/gpu/drm/i915/i915_gem.c+22 -90 replies
4/4drm/i915: use for_each_sg_page for setting up the gtt ptesdrivers/gpu/drm/i915/i915_gem_gtt.c+24 -431 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] drm/i915: handle compact dma scatter lists

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(-)
Signature · 1 line
1.7.10.4