Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp12443774ybl; Sat, 28 Dec 2019 12:30:24 -0800 (PST) X-Google-Smtp-Source: APXvYqw+3sMxrUmG7w8e0rUnuamUrdcyaA1No9MHd0nLOTwdya4mAI/U4PqX42/Jac+Xut72ATfm X-Received: by 2002:a9d:6f0a:: with SMTP id n10mr66649535otq.54.1577565024871; Sat, 28 Dec 2019 12:30:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577565024; cv=none; d=google.com; s=arc-20160816; b=RQvFzt2SWfNJxLD9Jf1bKYWCbqJrvxd36IZD9yySmYblUW2wPFgTwCBjzcD7Yyt6IM 2D6Ih78iXLROiHoWJzEXQEa8Kx9SYnSNUN6qPiBCPhEVWJgMbUqZtAaD65hToBbaWCNN 1z0ugXa6Fk3kATVIGePkCDFpMF4ksIgrY5DHDbaTOk0qvnxAAS3NzBQYvAK/FdkC7IXv D2s6ACkSr78zP937WfU5DB2Jsaoh+k1mD7GC8n8Lo+juM0rQE15n1f6DLAi/btMwdku5 xzdOVl8TOpJT83ETM6b4FCpxXO9qhbOWpZ+VS9nFYllnWVMDeC8W7m64HlvEIxBu/ZhV 3ftw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=KOo3X0X88vmmzo/eTEi6Meu4cmZqVttPr6kyKScWgTk=; b=IJmG5dmKvGKeBjydgJ1hMMdoSMFsVTddE3dVdvC5OaibOgALPe6VgKohg0imLo0MbB mrvN6V6dlwjO40k0cNH0sm3M1iM8yiNH8sZvzbP8SDO2FJA4W0oS14CAv78M3ZoAG/se c8FYUpaaVPrMQUQ48DTMpAcLMxEKkfgisNvTjRCPKCw3HgOM/aAUmaVBvqcrpR12U3+S wUB602u+eTRykykmLJDIaTz+0gONg4xKhKxg0Q32g6YCiWazLgZcvKnUolLFtBzXhULQ 8ncYXWNe3k5lFjOebOcP2QZxZ9xBDm492q5FpGNqUrfbJqDcdVDGw3WzW2CzkgIp5MUz ajew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@globallogic.com header.s=google header.b=Av9foxRe; 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=REJECT sp=REJECT dis=NONE) header.from=globallogic.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 24si18345313oip.248.2019.12.28.12.30.14; Sat, 28 Dec 2019 12:30:24 -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; dkim=pass header.i=@globallogic.com header.s=google header.b=Av9foxRe; 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=REJECT sp=REJECT dis=NONE) header.from=globallogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbfL1U2w (ORCPT + 99 others); Sat, 28 Dec 2019 15:28:52 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42440 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726876AbfL1U2w (ORCPT ); Sat, 28 Dec 2019 15:28:52 -0500 Received: by mail-pl1-f195.google.com with SMTP id p9so13103190plk.9 for ; Sat, 28 Dec 2019 12:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=globallogic.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KOo3X0X88vmmzo/eTEi6Meu4cmZqVttPr6kyKScWgTk=; b=Av9foxReTwVBkrERfdI7jObfw7XU7uwXaEfaCXIqfLHdVEXqrCSYJ39gOZKjlp2kes 0xFAmV9nUD99y/X+MHgPFTebv83wZASZYC7z1eBXvo4wftRBJPOECX12nkf2h0LN/jQc QNd7ypLlyARjjLmKnVPpnzk9FUDoq6IRH5r5Pu/+DV35NkLCfa35cq6oEtkARtRKH1pI UmMV7yiR6GAqqAnteEQLEErxIMlqV7ysoaokTvMUMgm9/vg1IrI6PKjq/OjkztjUHf8E C5ej8G1xJ/lzDUgd63jscyelh8JhuB9rPoHnZGODxNPlZRIo0pSfVW8Iq2QQZ9UJZEEW W10w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KOo3X0X88vmmzo/eTEi6Meu4cmZqVttPr6kyKScWgTk=; b=jR+ZhQMJqOIXN4HWwpzNyhbNFxHbiZv0Qj3X+nHmRLr+j4OkqrbvblrNDKZQgDuLCs hEMOgRW30YbDkDxw0lgAg4K5dUCP3ugYb9uFZnCc4X4iqBJDOY4/BFUt3BvjTwRfT45M 7zP2bgN1OLlnoEI2DBGJgUCgJ5G9vCzPqRH7o1OrbWT14mCxetG7LM0FqLug2ENzFvVt yWLjHk7tGcrFaJVxPVI9Gddz/y1ryBjR4fmOfZzXQJ5GHoGv5VlZTd0jWkf9RqqomE6T Yclmdqj/JbVEpjUOW+BL3FdTlJUCncNeDM/YM5zHsDfmFh9aup7oVqUxGzSJWsPMdFkm itmg== X-Gm-Message-State: APjAAAVa/W/Yh5HnDXZuzI96oDIhpV3HVeNn4cGbnDDDiKG1affnGrBS QSVbhsR364GihG9/GBTeOkAWFQ== X-Received: by 2002:a17:90a:b392:: with SMTP id e18mr35842386pjr.118.1577564931719; Sat, 28 Dec 2019 12:28:51 -0800 (PST) Received: from virtualhost-PowerEdge-R810.synapse.com ([195.238.92.107]) by smtp.gmail.com with ESMTPSA id i68sm46771169pfe.173.2019.12.28.12.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Dec 2019 12:28:51 -0800 (PST) From: roman.stratiienko@globallogic.com To: mripard@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jernej.skrabec@siol.net Cc: Roman Stratiienko Subject: [RFC 4/4] drm/sun4i: Update mixer's internal registers after initialization Date: Sat, 28 Dec 2019 22:28:18 +0200 Message-Id: <20191228202818.69908-5-roman.stratiienko@globallogic.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191228202818.69908-1-roman.stratiienko@globallogic.com> References: <20191228202818.69908-1-roman.stratiienko@globallogic.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roman Stratiienko At system start blink of u-boot ghost framebuffer can be observed. Fix it. Signed-off-by: Roman Stratiienko --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c index da84fccf7784..b906b8cc464e 100644 --- a/drivers/gpu/drm/sun4i/sun8i_mixer.c +++ b/drivers/gpu/drm/sun4i/sun8i_mixer.c @@ -588,6 +588,9 @@ static int sun8i_mixer_bind(struct device *dev, struct device *master, regmap_update_bits(mixer->engine.regs, SUN8I_MIXER_BLEND_PIPE_CTL(base), SUN8I_MIXER_BLEND_PIPE_CTL_EN_MSK, 0); + regmap_write(mixer->engine.regs, SUN8I_MIXER_GLOBAL_DBUFF, + SUN8I_MIXER_GLOBAL_DBUFF_ENABLE); + return 0; err_disable_bus_clk: -- 2.17.1