summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorChris Wilson2010-11-12 14:56:11 +0100
committerChris Wilson2010-11-23 21:19:15 +0100
commitdddbc0e5257572079602654258adc8d117e168ad (patch)
tree36e329c5ab7019777a4c7a1f153fe5bbc801e3d8 /drivers/gpu/drm/i915/i915_gem.c
parentdrm/i915: Move the implementation details of PIPE_CONTROL to the ringbuffer (diff)
downloadkernel-qcow2-linux-dddbc0e5257572079602654258adc8d117e168ad.tar.gz
kernel-qcow2-linux-dddbc0e5257572079602654258adc8d117e168ad.tar.xz
kernel-qcow2-linux-dddbc0e5257572079602654258adc8d117e168ad.zip
drm/i915: Remove a defunct BUG_ON
This used to check the precondition that all fences were to be located in a mappable area, redundant now as those two parameters are combined into one. After pinning, we assert that the buffer is bound into the desired region. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 027212e5c34a..7d6ce34789ca 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4248,7 +4248,6 @@ i915_gem_object_pin(struct drm_i915_gem_object *obj,
int ret;
BUG_ON(obj->pin_count == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT);
- BUG_ON(map_and_fenceable && !map_and_fenceable);
WARN_ON(i915_verify_lists(dev));
if (obj->gtt_space != NULL) {