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

From: Imre Deak
Date: Tue Mar 26 2013 - 09:14:27 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/