diff mbox

Regression since 53984635a659e360f206a81ada4ae813152d72f1 (drm/i915: use the complete gtt)

Message ID 1289328574.2356.1.camel@pcjc2lap (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Clifton Nov. 9, 2010, 6:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 7c91bf2..d014cd6 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3538,6 +3538,7 @@  i915_gem_execbuffer_pin(struct drm_device *dev,
                        /* g33/pnv can't fence buffers in the unmappable part */
                        bool need_mappable =
                                entry->relocation_count ? true : need_fence;
+                       need_mappable = true;
 
                        /* Check fence reg constraints and rebind if necessary */
                        if (need_mappable && !obj->map_and_fenceable) {