From: Chris Wilson Date: Thu, 15 Nov 2012 11:32:26 +0000 (+0000) Subject: drm/i915: Introduce i915_gem_object_create_stolen() X-Git-Tag: v3.9-rc1~83^2~40^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0104fdbb84d7adb0e377ed05bf75eba97b007544;p=pandora-kernel.git drm/i915: Introduce i915_gem_object_create_stolen() Allow for the creation of GEM objects backed by stolen memory. As these are not backed by ordinary pages, we create a fake dma mapping and store the address in the scatterlist rather than obj->pages. v2: Mark _i915_gem_object_create_stolen() as static, as noticed by Jesse Barnes. Signed-off-by: Chris Wilson Reviewed-by: Jesse Barnes Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed