diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-15 11:32:26 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-30 23:34:16 +0100 |
commit | 0104fdbb84d7adb0e377ed05bf75eba97b007544 (patch) | |
tree | c51e2069f6769d9a74c362c0465454691cf41f28 /drivers/gpu/drm/i915/intel_fb.c | |
parent | 960e3564bfa464f92549383d41659f2aaeee1420 (diff) | |
download | blackbird-op-linux-0104fdbb84d7adb0e377ed05bf75eba97b007544.tar.gz blackbird-op-linux-0104fdbb84d7adb0e377ed05bf75eba97b007544.zip |
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 <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fb.c')
0 files changed, 0 insertions, 0 deletions