Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4630070imm; Tue, 7 Aug 2018 04:57:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpef2EY09qteW1bayP5sQIDOEpLY5fpHpvUgZnIKx5gZ4VWE+kTmVk+VXl1a7W6Ry3f8zqlb X-Received: by 2002:a63:d309:: with SMTP id b9-v6mr18395462pgg.163.1533643059880; Tue, 07 Aug 2018 04:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533643059; cv=none; d=google.com; s=arc-20160816; b=J1cVhFHZ8S4yrVAJQSUebztOOXbEPHlfGk7Xt0SqgaETRPj4z96vl9GQ/fu2louVuN dNxwaEypZkWnLiy9cG/+z8Cnhkf0qPAVufDlUC91qzfVFg7UTq8E7HRPMlAG50yVYSto 4WYWHdj88mKnlijoF0leiXwM1Jfe4y7XqTtrmScPjTxxJiE0SBYcec+ISf+zh09IOLDi h3CkjLnlz5SgXFYCtjOZd+U17VwHg83os3/cPd4WKH5z3yYj3PZWAU6RxGDqUgOW9vpZ Q2EVRgpvl5AbZvw3OzkzrGjNnGGPwAbVpcu3SnTqcpJEwTncPeIyInEuBZ6yw52SLwRt WCow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=xIP6t9b7rJ0XQHSNyY3vHnKP6CFo/wb+INO0S3ErM/Y=; b=UrQJ87cMqzt8Bmb9rfipTtEsSgrqJVi8l+7XbQkJehmFpFVT3XEbTk8nzZwXNAuOUn V8Kr/VGGa8ZBeRSdb4mA211HRMalFzWAS0qUD82+nv2Pc+gP1H9zvxQqUzPGmA5ZARzw Mg91lf8FTDH9qn7ez72Igpx4c6aIJkP3Mk8ab1j9iTRRzEBcKNXv5BOcsvlO/5jYlv98 GRR24VrfzKAt+jWVByEu8WTM8CmAuJUnuD0esZjJF2yB5mLvW7Zp4DD+lMU+8NxGw7p/ 1BraafsuHyMsW4kbc0ToQpfptOZzIlJibHhpgq1oLmi+a7seHqITWIX+jUKG56oaPGVC fjtw== 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 f90-v6si961190plf.30.2018.08.07.04.57.23; Tue, 07 Aug 2018 04:57:39 -0700 (PDT) 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 S2387578AbeHGNHM (ORCPT + 99 others); Tue, 7 Aug 2018 09:07:12 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:54105 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbeHGNHL (ORCPT ); Tue, 7 Aug 2018 09:07:11 -0400 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1fmzc7-0004jJ-SE; Tue, 07 Aug 2018 12:53:19 +0200 Message-ID: <1533639199.2992.4.camel@pengutronix.de> Subject: Re: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display From: Philipp Zabel To: Leonard Crestez , Stefan Agner , Marek Vasut Cc: Shawn Guo , Fabio Estevam , Robert Chiras , Mirela Rabulea , Anson Huang , dri-devel@lists.freedesktop.org, Dong Aisheng , linux-imx@nxp.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org Date: Tue, 07 Aug 2018 12:53:19 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-08-06 at 22:31 +0300, Leonard Crestez wrote: > LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to > NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the > display will show an initial corrupt frame. > > Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when > activating the CRTC. > > Signed-off-by: Leonard Crestez Reviewed-by: Philipp Zabel Tested-by: Philipp Zabel on imx6ull-evk. regards Philipp