From patchwork Tue Nov 9 18:49:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Clifton X-Patchwork-Id: 311932 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA9Inv7V000803 for ; Tue, 9 Nov 2010 18:50:23 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EABE99F5B7 for ; Tue, 9 Nov 2010 10:49:56 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) by gabe.freedesktop.org (Postfix) with ESMTP id AF4C99E8D8 for ; Tue, 9 Nov 2010 10:49:37 -0800 (PST) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from client-86-31-82-85.midd.adsl.virginmedia.com ([86.31.82.85]:18051 helo=[192.168.1.2]) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1PFtGC-0002g5-QF (Exim 4.72) for intel-gfx@lists.freedesktop.org (return-path ); Tue, 09 Nov 2010 18:49:36 +0000 From: Peter Clifton To: "intel-gfx@lists.freedesktop.org" In-Reply-To: <1289326968.2289.4.camel@pcjc2lap> References: <1289326968.2289.4.camel@pcjc2lap> Date: Tue, 09 Nov 2010 18:49:34 +0000 Message-ID: <1289328574.2356.1.camel@pcjc2lap> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Subject: Re: [Intel-gfx] Regression since 53984635a659e360f206a81ada4ae813152d72f1 (drm/i915: use the complete gtt) X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 09 Nov 2010 18:50:23 +0000 (UTC) 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) {