]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67190e82123efcdf126c0f504c5f179b4dabde3a
tree7d68b6eee6b2bf9c6f6211adae1b2e972b105eec
parent2a658229cc59fd68b6ec5cb8d94f4603ede6d284
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