]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/sun4i: frontend: Fix the scaler phase on A33
authorMaxime Ripard <maxime@cerno.tech>
Thu, 15 Oct 2020 09:36:42 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 11:39:04 +0000 (12:39 +0100)
[ 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 <maxime@cerno.tech>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20201015093642.261440-3-maxime@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/sun4i/sun4i_frontend.c

index c4959d9e16391f92172a5610a2bd9a9fb437aead..7186ba73d8e145eb13ff7a58522b4b307a0d4b9d 100644 (file)
@@ -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,
 };