drm/i915: thread address space through execbuf
authorBen Widawsky <ben@bwidawsk.net>
Thu, 1 Aug 2013 00:00:02 +0000 (17:00 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:04:11 +0000 (19:04 +0200)
commit28d6a7bfa2560cb94727a68511ed68561e84dcc8
tree7d68b6eee6b2bf9c6f6211adae1b2e972b105eec
parent1d693bcc37461a66fafd13ff171c4496aee0df98
drm/i915: thread address space through execbuf

This represents the first half of hooking up VMs to execbuf. Here we
basically pass an address space all around to the different internal
functions. It should be much more readable, and have less risk than the
second half, which begins switching over to using VMAs instead of an
obj,vm.

The overall series echoes this style of, "add a VM, then make it smart
later"

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Switch a BUG_ON to WARN_ON.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c