drm/i915: Support appending to the rotated pages mapping
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 21 Sep 2015 09:45:33 +0000 (10:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Sep 2015 15:28:12 +0000 (17:28 +0200)
commit804beb4b5b76e41352b41027ab2804b8462c1686
tree6138aa0a0d39ed3682e83a107cb76b59d209c55b
parentfe47ea0cfa4adffe2a20edb22376d7af76b6a74c
drm/i915: Support appending to the rotated pages mapping

By providing a start offset into the source array of pages, and returning the
end position in the scatter-gather table, we will be able to append the UV
plane to the rotated mapping in later patches.

v2: Rebase.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c