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)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 26 Oct 2020 10:43:30 +0000 (11:43 +0100)
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
drivers/gpu/drm/sun4i/sun4i_frontend.c

index 80f0c4392fef57b3bd6213d6da438a1e61109783..edb60ae0a9b75f667b67f65d7380c1208b8f977e 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,
 };