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)
commit271d81b84171d84723357ae6d172ec16b0d8139c
treeca4d1952f3e47e69706be5609143ae4d1b8e291a
parent5d9faa16a73f3317177ec42d5b5d826947458eb9
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