[Intel-gfx] [PATCH 0/2] lib/scatterlist: sg_page_iter: support for memory w/o backing pages

Imre Deak imre.deak at intel.com
Tue Mar 26 14:14:17 CET 2013


When adding sg_page_iter I haven't thought properly through the use case
for sg lists w/o backing pages - which is specific to the i915 driver -
so this patchset adds support for this.

It applies on the i915 tree [1], where the iterator is in use already.

[1] git://people.freedesktop.org/~danvet/drm-intel [nightly branch]

Imre Deak (2):
  lib/scatterlist: sg_page_iter: support sg lists w/o backing pages
  Revert "drm/i915: set dummy page for stolen objects"

 drivers/gpu/drm/drm_cache.c            |    2 +-
 drivers/gpu/drm/i915/i915_drv.h        |    2 +-
 drivers/gpu/drm/i915/i915_gem.c        |    8 ++++----
 drivers/gpu/drm/i915/i915_gem_dmabuf.c |    2 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c    |    6 ++----
 drivers/gpu/drm/i915/i915_gem_stolen.c |    4 ++--
 drivers/gpu/drm/i915/i915_gem_tiling.c |    4 ++--
 include/linux/scatterlist.h            |   28 +++++++++++++++++++++++-----
 lib/scatterlist.c                      |    4 +---
 9 files changed, 37 insertions(+), 23 deletions(-)

-- 
1.7.10.4




More information about the Intel-gfx mailing list