From patchwork Thu Dec 30 09:36:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 440891 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 oBUMZ9Sh016875 for ; Thu, 30 Dec 2010 22:35:30 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F035C9EB11 for ; Thu, 30 Dec 2010 01:38:17 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by gabe.freedesktop.org (Postfix) with SMTP id 67C9A9EB49 for ; Thu, 30 Dec 2010 01:36:38 -0800 (PST) Received: (qmail invoked by alias); 30 Dec 2010 09:36:36 -0000 Received: from p4FDEAA87.dip.t-dialin.net (EHLO [192.168.0.150]) [79.222.170.135] by mail.gmx.net (mp023) with SMTP; 30 Dec 2010 10:36:36 +0100 X-Authenticated: #23875046 X-Provags-ID: V01U2FsdGVkX1/P4ldR0wXPUo49BCd7zCyg1Z1Oj0/3QnDi3SyY8c 0TBV2JiZcIRXjf From: Alexey Fisher To: intel-gfx@lists.freedesktop.org Date: Thu, 30 Dec 2010 10:36:35 +0100 Message-ID: <1293701795.5595.7.camel@zwerg> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 X-Y-GMX-Trusted: 0 Subject: [Intel-gfx] [regression] drm/i915: Flush pending writes on i830/i845 after updating 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]); Thu, 30 Dec 2010 22:35:30 +0000 (UTC) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index cecaa07..3a12cbf 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -2148,8 +2148,8 @@ i915_gem_flush_ring(struct drm_device *dev, uint32_t invalidate_domains, uint32_t flush_domains) { - if (list_empty(&ring->gpu_write_list)) - return; +// if (list_empty(&ring->gpu_write_list)) +// return; ring->flush(ring, invalidate_domains, flush_domains); i915_gem_process_flushing_list(dev, flush_domains, ring);