]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow relocation deltas outside of target bo
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 15:24:41 +0000 (15:24 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 16:01:02 +0000 (16:01 +0000)
commit81f5d2c328d7a2b5bb6704cf164f8049d82b02eb
treeca4d1952f3e47e69706be5609143ae4d1b8e291a
parent8b80fe681300ae795524e9ca012b68e16d9148d1
drm/i915: Allow relocation deltas outside of target bo

Userspace has a legitimate requirement to use a delta that points to
outside of the target bo, and so we need to enable this. (As this is an
abi break, albeit a relaxation of the current restrictions, mark the change
with a new flag.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
include/drm/i915_drm.h