From patchwork Thu Oct 15 09:36:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 11842951 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF60EC388EC for ; Sat, 17 Oct 2020 19:05:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 497682073A for ; Sat, 17 Oct 2020 19:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 497682073A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 556C96E22F; Sat, 17 Oct 2020 19:04:50 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id BE88A6EC4F for ; Thu, 15 Oct 2020 09:36:51 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BFC1CC29; Thu, 15 Oct 2020 05:36:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 15 Oct 2020 05:36:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=qAsJeD+LNPA8w Tn40pa+uw1QwTkvzNCGa4JCbB4Syms=; b=gPN/7pFfTw+9ZEumZnkVe6xFSy2Ae cUB4yFGprCI7E5JznqIHU3debtm1J1RJF7EM2ExKI6CY9WyI90ZacG49kW8Ucl1/ rNO4ME8rWG619nCJv9Xqcriozp15wAQNJHsXseec/Ub1B2lQu//++Yv3FGWL6jP6 3W7QNUoD4Oxg0/toxARwYK6wRKjkvM5kDDZ1XW+AETbAOvP5W1x+e9EDgP8UrEDB /1rp8lcXqYWf1Qhp75ulXmOOAOlwf7S5VfnjmPQH/Ekv5e5nFit62IDQhz50W6e/ JiyL5j8LY4HjfbE9jl/jjYApZAghXuQKOn1sQ2hmR+sGdZs0XKV0c7I8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=qAsJeD+LNPA8wTn40pa+uw1QwTkvzNCGa4JCbB4Syms=; b=GeH3EDfP Nq8WVLdXniuGatIv6LWI/z7qmhGAGLGUj7VMi1noo0v3WPMCwrWuxyvCxx3wMY/K mMetFvBU2+b9cZNmP1yGhpAl6lPX1z5X62U3j3L3xeHLaxym7LBaaJ8E4Q4Pzwlu 4OHwhqzi/Ftfh0ezxw5Ok7XYby8TnEVqggswEJa0s1/va1Oz/PAIRQyIVRO+xLGt PNtxK4aemeF56PmrYAt3a1Xjzv5VzsSZ2mjdxMPqxEHdS3szKtz8OYdLasSrHQ9u uLnXuPHWe0wyMgVsw/MCNCGdMcnOvoj+pUPSRGIJkK7PR+IpGvyuq/Q2h8FVxZFq iEC6O6fzLCNmpQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrieefgddukecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id D42D23064610; Thu, 15 Oct 2020 05:36:47 -0400 (EDT) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 3/3] drm/sun4i: frontend: Fix the scaler phase on A33 Date: Thu, 15 Oct 2020 11:36:42 +0200 Message-Id: <20201015093642.261440-3-maxime@cerno.tech> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201015093642.261440-1-maxime@cerno.tech> References: <20201015093642.261440-1-maxime@cerno.tech> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 17 Oct 2020 19:04:47 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Taras Galchenko , Jernej Skrabec , dri-devel@lists.freedesktop.org, Paul Kocialkowski , Thomas Zimmermann , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The A33 has a different phase parameter in the Allwinner BSP on the channel1 than the one currently applied. Fix this. Signed-off-by: Maxime Ripard Acked-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_frontend.c b/drivers/gpu/drm/sun4i/sun4i_frontend.c index d32b12cbbb60..ff4187eab519 100644 --- a/drivers/gpu/drm/sun4i/sun4i_frontend.c +++ b/drivers/gpu/drm/sun4i/sun4i_frontend.c @@ -694,7 +694,7 @@ static const struct sun4i_frontend_data sun4i_a10_frontend = { }; static const struct sun4i_frontend_data sun8i_a33_frontend = { - .ch_phase = { 0x400, 0x400 }, + .ch_phase = { 0x400, 0xfc400 }, .has_coef_access_ctrl = true, };