Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3978228imm; Mon, 6 Aug 2018 14:15:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf2TImmCSZLTppLRuEOtdwNgiczGZT+YYWKor1PjxE9jupJx3ibmJ9+aAmX9HLK9LA4+nqD X-Received: by 2002:a17:902:18a:: with SMTP id b10-v6mr15570533plb.62.1533590109541; Mon, 06 Aug 2018 14:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533590109; cv=none; d=google.com; s=arc-20160816; b=QtesLinQ/gslTcbPPOTUHTXYgE+nEuj9GUB1Ms5DTewwMpayJarlOClGZqJ2r2s53D 2XZGbvLQNHsscRLFsmAlxgfqLk0eBA9wkc25Go4HsasQK0fRn2D04rrxrEu7iVBZgkLH /S8u8hewRXy1AxmCQbbgqP0dERjHiiyFaqi9y7NZtxwIkor/C1Ol2m23VFn7GhlWXUVs xkZw+yppAiWQYHkJYFwsvrv86TCrLP+88XB8NLjIduaKG/eun/ury5O2iT2RvRdbdTqV 4ULrewZGW02RQK7+lqBUPtL0nGluFGpBcsdjaTlJ76Npp062zOyECadZMwZlWBvit9nH SoaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=QOTvoSNHzmqZfRgdkzeW1Cx/h4acjhDSfvDT0QW2LwI=; b=ae0nt+9DjAKY/M80WNqQn2laNgscRHSpIToMCuMDA62frdGny357YjIWRBAWmEuwiD VvgSh8qJPc8e/emFZWBSvxER0tMDEBDVFsdNl/9URpV/Exhvp7BWHKAZua7/Dq3x4flH XN1gSiUbJm4dFzaLiH8wmCm/U9OeXgOL7Qbbbs8VRku6nTjOcR39N7+XHGflGjVCuMU2 apP8ABWxtYnQXVeygyvL012uK000oT5J8qmAPtt0qZPxCfzkVmWPq+eZ7AHyzev0nNgA 1xmt1hfPGrNLzLTCTkHVQjuvE91v8siQQwiyuUlGmdHhZ2GOo/0SPQoS4JLApNCR+7su iIgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=BLgEvvyG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o126-v6si580617pfg.102.2018.08.06.14.14.53; Mon, 06 Aug 2018 14:15:09 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=BLgEvvyG; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732772AbeHFVmF (ORCPT + 99 others); Mon, 6 Aug 2018 17:42:05 -0400 Received: from mail-eopbgr40050.outbound.protection.outlook.com ([40.107.4.50]:22570 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731324AbeHFVmE (ORCPT ); Mon, 6 Aug 2018 17:42:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QOTvoSNHzmqZfRgdkzeW1Cx/h4acjhDSfvDT0QW2LwI=; b=BLgEvvyGojMFF/YyVcOGzXcLVOE5uvSgtkshs17iqzi0XRdY4ovVp6ZDNZRMDYVeVeGpBGWTZK3XoeuoQuw7ch3Grw36VdAcz9u5H29xG8qKCprP2A8vEiEp9iv8k1Q/8W979Joj2SGNvg7/nmKdjkVgHi6viaAUpv68CKiJCjQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; Received: from localhost.localdomain (95.76.156.53) by AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.15; Mon, 6 Aug 2018 19:31:26 +0000 From: Leonard Crestez To: Stefan Agner , Philipp Zabel , 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 Subject: [PATCH v3 1/4] drm/mxsfb: Fix initial corrupt frame when activating display Date: Mon, 6 Aug 2018 22:31:07 +0300 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: DB6PR07CA0162.eurprd07.prod.outlook.com (2603:10a6:6:43::16) To AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51a5a137-ad37-4fed-3dfe-08d5fbd33487 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4290; X-Microsoft-Exchange-Diagnostics: 1;AM0PR04MB4290;3:BUVuFmnOTc9hh/yn+5K/oIHNBUfPPq8quPDO3NU9LI0fgYKGdvzUouK6+Dj53OqTtPS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0Cac8INTTcLZ8KkMP522SaK1HYfSJCCv4KgQ+KxP4IUdYtU3x/RMJZMEvdZcpnQDmTbHZlQZEZK/YuFCnG8JXtwI5TTjguRH4YcjxYxwci98SxOtwBNJqfbxTvYR9s/4tolWc1B89E93pyatorY+4CLnvsNHXQStbRHAptvDMa2lMjrZL4k+z5pZrGnfK9dDgRH+YpCAdW0e4/JSp+9S6n6Ryp2CD0dmCwns29LSMitZJNLY/1yQIwsqkcIA/fabY7QSTetBpCmqOEr0KJIP7HRjaaIPWHOFZx0q9z;4:Y4x1wG7zOklQiUD3hsqaQoWEsFxlaPkmmqxGsEUvGGBAFcyMw24HyzLMrMxQNT+zUcml1nt3lMs7AlziV91w6dZGDKvindUBfDY5iUIRc091CQi2SU9Sqq6i7wxVVds2PWF8IzEnZZVK/AorVTmqBZrYltEjpzfj3szq+bbicKAWjRZ25M2oW0WvlQWm7EZQvAmUBKrszvggY2JxOS3SVHzBGmrOwvcRpN9y5L/NkDRSuuM/3BFm0OcQGu23yb+q8QsMR3wGPcDDxP1JiVLIFRWHC1en+XPsmiCiV9OZJgVBjqACL/w3+pUGUgwL2Sns X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:AM0PR04MB4290;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4290; X-Forefront-PRVS: 07562C22DA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(39860400002)(376002)(346002)(366004)(396003)(136003)(189003)(199004)(486006)(86362001)(50226002)(76176011)(316002)(6486002)(68736007)(14444005)(386003)(6506007)(2906002)(6512007)(50466002)(51416003)(5660300001)(478600001)(6116002)(16526019)(3846002)(66066001)(25786009)(26005)(47776003)(305945005)(44832011)(186003)(8936002)(52116002)(476003)(48376002)(6666003)(2616005)(4326008)(446003)(118296001)(54906003)(8676002)(105586002)(81166006)(53936002)(7736002)(97736004)(110136005)(11346002)(956004)(106356001)(81156014)(16586007)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4290;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM0PR04MB4290;23:b9Dc+nLyb9HLyGJ+UkppVMKkFeMt/hBlBnleun+QR?= =?us-ascii?Q?SXQ9ke1Pie7MzoJe70/Q6n8j8vxqZ4+8L+oI6J3XCIkf/MPuYH9qn5KKia2O?= =?us-ascii?Q?p7+FhoVIzPDCiHeB1fczrCEnCBwyaPPACa8CFTFpxjTk95pzKAxb8pnt1avd?= =?us-ascii?Q?YcnpHdb1DmfQa6GXgWFxxXNeHCbLA6GkuNTJ/AfkiQRFwizIDB5ZTA0JU9+u?= =?us-ascii?Q?x5tZRxRYwRfe/RbVSvzhtAjrLxoESh8rX5E/vcPID+jBHCb9mdIkdYOyYSHk?= =?us-ascii?Q?Fgj0c0cofjoW8SlfR4qQaTe+WZBVp8gdYMEdpPqWbLWKGn0oYDMZ3R3Vu2fd?= =?us-ascii?Q?I+CH05n37bhW4yvOkO1yq/mHXKBOkqPaXGu/AAY1S6vFOE5bN33mXLiSLuXz?= =?us-ascii?Q?da7/kSuy+f2pUpIrhrTPqkuTQ0EDHMZMhqAv9R2GGzLUOmVDkeD0TgqyseeP?= =?us-ascii?Q?NYLQKC+NeGuYZLGpPxJiYxrnqYItJ7hjU8DSVf3QX1IgQd7/kiN8RYgyDQyX?= =?us-ascii?Q?VU8QRNStdJr7ruKem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2mPyhLUqzlRgHhX7oCwg9P4Iij0uoM0Uwx7RtXyPbljTlu6hlNCy8EZXdOwQnv SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2018 19:31:26.9224 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51a5a137-ad37-4fed-3dfe-08d5fbd33487 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4290 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 42 +++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c index 0abe77675b76..db3ff5bde122 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_crtc.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_crtc.c @@ -194,15 +194,31 @@ static int mxsfb_reset_block(void __iomem *reset_addr) return ret; return clear_poll_bit(reset_addr, MODULE_CLKGATE); } +static dma_addr_t mxsfb_get_fb_paddr(struct mxsfb_drm_private *mxsfb) +{ + struct drm_framebuffer *fb = mxsfb->pipe.plane.state->fb; + struct drm_gem_cma_object *gem; + + if (!fb) + return 0; + + gem = drm_fb_cma_get_gem_obj(fb, 0); + if (!gem) + return 0; + + return gem->paddr; +} + static void mxsfb_crtc_mode_set_nofb(struct mxsfb_drm_private *mxsfb) { struct drm_display_mode *m = &mxsfb->pipe.crtc.state->adjusted_mode; const u32 bus_flags = mxsfb->connector.display_info.bus_flags; u32 vdctrl0, vsync_pulse_len, hsync_pulse_len; + dma_addr_t paddr; int err; /* * It seems, you can't re-program the controller if it is still * running. This may lead to shifted pictures (FIFO issue?), so @@ -268,10 +284,16 @@ static void mxsfb_crtc_mode_set_nofb(struct mxsfb_drm_private *mxsfb) mxsfb->base + LCDC_VDCTRL3); writel(SET_DOTCLK_H_VALID_DATA_CNT(m->hdisplay), mxsfb->base + LCDC_VDCTRL4); + /* Update cur_buf as well to avoid an initial corrupt frame */ + paddr = mxsfb_get_fb_paddr(mxsfb); + if (paddr) { + writel(paddr, mxsfb->base + mxsfb->devdata->cur_buf); + writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); + } mxsfb_disable_axi_clk(mxsfb); } void mxsfb_crtc_enable(struct mxsfb_drm_private *mxsfb) { @@ -287,16 +309,12 @@ void mxsfb_crtc_disable(struct mxsfb_drm_private *mxsfb) void mxsfb_plane_atomic_update(struct mxsfb_drm_private *mxsfb, struct drm_plane_state *state) { struct drm_simple_display_pipe *pipe = &mxsfb->pipe; struct drm_crtc *crtc = &pipe->crtc; - struct drm_framebuffer *fb = pipe->plane.state->fb; struct drm_pending_vblank_event *event; - struct drm_gem_cma_object *gem; - - if (!crtc) - return; + dma_addr_t paddr; spin_lock_irq(&crtc->dev->event_lock); event = crtc->state->event; if (event) { crtc->state->event = NULL; @@ -307,14 +325,12 @@ void mxsfb_plane_atomic_update(struct mxsfb_drm_private *mxsfb, drm_crtc_send_vblank_event(crtc, event); } } spin_unlock_irq(&crtc->dev->event_lock); - if (!fb) - return; - - gem = drm_fb_cma_get_gem_obj(fb, 0); - - mxsfb_enable_axi_clk(mxsfb); - writel(gem->paddr, mxsfb->base + mxsfb->devdata->next_buf); - mxsfb_disable_axi_clk(mxsfb); + paddr = mxsfb_get_fb_paddr(mxsfb); + if (paddr) { + mxsfb_enable_axi_clk(mxsfb); + writel(paddr, mxsfb->base + mxsfb->devdata->next_buf); + mxsfb_disable_axi_clk(mxsfb); + } } -- 2.17.1