Received: by 10.223.148.5 with SMTP id 5csp6396414wrq; Wed, 17 Jan 2018 13:06:46 -0800 (PST) X-Google-Smtp-Source: ACJfBot4PfOeyvnh15879LBZ9WEltphgvui8YJCCgZUYDDJrdQOT7wmppifzJCjGrTaFhTbVQ4v7 X-Received: by 10.84.133.47 with SMTP id 44mr12233118plf.65.1516223206419; Wed, 17 Jan 2018 13:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516223206; cv=none; d=google.com; s=arc-20160816; b=wiLxonu+GAfLwIgkc6FQzQkYB3HSfSyGxJRQb0O/iezQQ9BqEJ+9aUKOk37w1KKEvm ZUq6MSqq/bH+/P1cMkKAPxyiBz3Br4QEY92YNlAr9L+GoNjkEOZmdZA84bM9e3diPqvd T/IiZO9mEk98W2XWmE2mLNzCaYacI4H7uyJ+3om6u/oZJVTpGLo9KzWScxPuLnRdZayx DUHJClzL3+IVjhvEdQvqtcA3kioto7yconABnq28a3LQe/YYR/9tXskiYUgRBEO5ZX1o Y+w/fXftu8KtpoIlqeIBt3/BXihmSmCWAn/0Q0JgH2E+LhL3R+AJpR6GI9oOg7wA9B2t VreQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=8m0JBni3AWMKIwDqaQpy+4ywN7q6msR8qRkqSgGPD3M=; b=QmXFQbysdRkXcPiVHAkgwyZuXDDNdt9oudMZcsoyA35Pn/bTqjtYJ4s0bjOn3yoiQZ Yww6dfKwC1Zi/DuldgAk3EduxeoP8RU5zbRMDLjqUJwswKRVN30OoMBNhtQM07hAeoH7 HCf650Hdhayi3rzuKL7QcPwlwIL+8aPYo7xdRGwG9UB8o30ILey79oM6KvZcF04hddDq KsAcbK9mahl5RPyt6k2GbzaM1TOrE9jTTgLcqDhUxHJfHqIcSwpqdCVsD+szUxeuRaEW 59wKhArRG5aog5p9Vl7TLgwim4xToBQH8I0V3LtMI1lbatouYArhkJxgSpPjK5AEafZe CxXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14si5066797pfj.360.2018.01.17.13.06.31; Wed, 17 Jan 2018 13:06:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754014AbeAQVGJ (ORCPT + 99 others); Wed, 17 Jan 2018 16:06:09 -0500 Received: from anholt.net ([50.246.234.109]:41760 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753593AbeAQVGH (ORCPT ); Wed, 17 Jan 2018 16:06:07 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 683CC10A1614; Wed, 17 Jan 2018 13:06:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4OSuEZTjnsWJ; Wed, 17 Jan 2018 13:06:05 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 5EA1910A0213; Wed, 17 Jan 2018 13:06:05 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id D07E22FE2D97; Wed, 17 Jan 2018 13:06:04 -0800 (PST) From: Eric Anholt To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/vc4: Flush the caches before the bin jobs, as well. In-Reply-To: <20171221221722.23809-1-eric@anholt.net> References: <20171221221722.23809-1-eric@anholt.net> User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/25.2.2 (x86_64-pc-linux-gnu) Date: Wed, 17 Jan 2018 13:06:04 -0800 Message-ID: <87vag0dwlf.fsf@anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Eric Anholt writes: > If the frame samples from a render target that was just written, its > cache flush during the binning step may have occurred before the > previous frame's RCL was completed. Flush the texture caches again > before starting each RCL job to make sure that the sampling of the > previous RCL's output is correct. > > Fixes flickering in the top left of 3DMMES Taiji. > > Signed-off-by: Eric Anholt > Fixes: ca26d28bbaa3 ("drm/vc4: improve throughput by pipelining binning and rendering jobs") Whoops, in the subject, this should have been "before the *render* jobs." --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlpfurwACgkQtdYpNtH8 nugbdA/8DdGvpvVzlEpIShNDJwKjoMmYUBj/4rFXDSizZuxrqNQnqVtqR5Ot7QQx IqlC+j3JtQmHdnhBD/fnJ7h/1Fp8e/IWn3m2iHMEysLCoqukIXGbHYy8bk+C6GXh 2ktiLaIxCcP/VuulKEvfk2fCgzGljxruvx5Fg30Zg1mmW67rwfVSZNJpf2ITR2IL dyA0YCvFJKmHuCl8zemVTqsndzqw5Az/RV7i4mjRlOE8i5o5rFPKRVk9H6LMDvgu zXXxR/UxTRmH76QAi47uP3qqEFIcp679HRCtqTsBJpE/qiyxo0G6c5RkBPQgeM6/ C3Q8J6qDfIRqz1+3qlH8WUwDxlsXDBVM1BATso0p2gt19UHMmyZ0d+YyGVzycOTg /hfkWtjsYzbjfYxnqJCVXEKUjQ/VEzJfkTKuI9GuLeNEdNZeDTAAaseET9NlElFq NeiC3YLDqAgHz6YCDv9ejl9w+nADfYXSQB4CPQnI8aPktckGDYLpQKUAobXPVy9N 6ONVLDqsEmVtz2LoVPWLb27tyqVfhutFbX8mf3myP7YmNuTp+JyV/VC9Sf89XdES mVWsALPlG1naxR2YRY12uzvxV9C0pXaVElTx0Ph8c6GmT2RP1S2XcXmPfmdtI4pj dl+uBUzyw3Fv5p7IdqCwCW2QyvXJJILZ9AjkxdPEjsbJZfLGdE8= =mTfa -----END PGP SIGNATURE----- --=-=-=--