Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3194013pxb; Mon, 9 Nov 2020 05:18:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6gjHowJSwNixB4JqtQnSjg06T+7IMAop+iXiVVxZhwOiVWBwN2X8fdGMYKFp+0xkE0eNj X-Received: by 2002:a05:6402:88d:: with SMTP id e13mr15967687edy.366.1604927892551; Mon, 09 Nov 2020 05:18:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604927892; cv=none; d=google.com; s=arc-20160816; b=eg1mDpihvWFZkxAHIylz8swZAQ+6YZK1rxhQGTlY2teU+V9lCE/F54eZQOI4lHEimQ pi8hJ+EkltwdBY3nz8DWMFOf952PRPXb2qphx0n5yN2VLM4+YDGOVA3JZ6mEfZeAGWE3 bzFUJDvDSXnK7sPt4vxwU/BPt1x9SzqAQHUP4oyragfDoJGXSyKDiFJtt8NxHoeGRcWc PLQhhzfGI+g/MSsD5ZDZwi6Wx5wIG/+wuV/WETUZret89FQBd92RMAtjSUcCO+UjYXn0 +qB3T2ZoR/U1BbbTgUyLoG2fFnGgHnvWMYi5hnrmY1CDXdt97oRuQRjwmG7adInCqpwc XyOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=V+Hyb73wxmjtA51SYmONXZdVqUuRvL+REOKe6YaytRI=; b=kagkejXviZRpxtskvJ0EZIRETfTj13eF5UxQbKqP+4j40y89PPCHCspbCYhOMPUHEA AqUwY3G9lQq5DISxHnfZDQqTtNUHIz7+6CtYXm8TOFlOvZrPnfWZE2KkgUa6+Yxbgaaw U56nUXq64T3J24UxUth/qGYJ9LZxmoxQZenUrGmn61vAL6odANDs5ogm44K8L84GfRyy gAYOJD1wPVavGJIzf5UEg8DjNrIDAx0DeV/k0t9cZ1thVQHF9HQbxYwcHO+pluszMGXz xEPRQldnegVIGQNIRem1LyVE3aeK041iD6ddELu41csQ6KKGRDOl06jDriR99f9bkkDy rw0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ll6zP0iB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si6832973eju.563.2020.11.09.05.17.49; Mon, 09 Nov 2020 05:18:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ll6zP0iB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731624AbgKINNh (ORCPT + 99 others); Mon, 9 Nov 2020 08:13:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:39496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731621AbgKINNg (ORCPT ); Mon, 9 Nov 2020 08:13:36 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E45CE20867; Mon, 9 Nov 2020 13:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927615; bh=gLHIgoD2vt9hPiX3wLzXW2G/zO/wNF9ivi/BFLeyUOg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ll6zP0iBZ0UU6Jy69D/IueR+2DYu2cwvwDjEW868YX+8pJePk+ggScPpAJZ4i7swD ajshjj98UolsOhkep9MkgKKFSO3EG1DAcJY7z77AHuogTBqvhmtfV7D7buCucOht00 GVTYrPH5Kkzh8tdxgiU+Y3z645HUaVK3NOaMiYgE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maxime Ripard , Jernej Skrabec , Sasha Levin Subject: [PATCH 5.4 48/85] drm/sun4i: frontend: Fix the scaler phase on A33 Date: Mon, 9 Nov 2020 13:55:45 +0100 Message-Id: <20201109125024.889304102@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125022.614792961@linuxfoundation.org> References: <20201109125022.614792961@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard [ Upstream commit e3190b5e9462067714d267c40d8c8c1d0463dda3 ] 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 Link: https://patchwork.freedesktop.org/patch/msgid/20201015093642.261440-3-maxime@cerno.tech Signed-off-by: Sasha Levin --- 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 c4959d9e16391..7186ba73d8e14 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, }; -- 2.27.0