]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Create an init vm
authorBen Widawsky <ben@bwidawsk.net>
Wed, 31 Jul 2013 23:59:54 +0000 (16:59 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:07 +0000 (19:04 +0200)
commitfc8c067eee712b274e554be5cc87c79366cc5ad2
tree29467954a6232adef63ed02cc66c41d9634697db
parent87a6b688ccc78b2c54bee56879c6d195d2457ebe
drm/i915: Create an init vm

Move all the similar address space (VM) initialization code to one
function. Until we have multiple VMs, there should only ever be 1 VM.
The aliasing ppgtt is a special case without it's own VM (since it
doesn't need it's own address space management).

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem.c