diff mbox series

[3/3] drm/sun4i: frontend: Fix the scaler phase on A33

Message ID 20201015093642.261440-3-maxime@cerno.tech
State New, archived
Headers show
Series [1/3] drm/sun4i: frontend: Rework a bit the phase data | expand

Commit Message

Maxime Ripard Oct. 15, 2020, 9:36 a.m. UTC
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>
---
 drivers/gpu/drm/sun4i/sun4i_frontend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jernej Škrabec Oct. 21, 2020, 5:16 p.m. UTC | #1
Hi!

Dne četrtek, 15. oktober 2020 ob 11:36:42 CEST je Maxime Ripard napisal(a):
> 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>

Best regards,
Jernej
Maxime Ripard Oct. 26, 2020, 10:22 a.m. UTC | #2
On Wed, Oct 21, 2020 at 07:16:52PM +0200, Jernej Škrabec wrote:
> Hi!
> 
> Dne četrtek, 15. oktober 2020 ob 11:36:42 CEST je Maxime Ripard napisal(a):
> > 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>

Thanks for reviewing those patches, I've merged them

Maxime
diff mbox series

Patch

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,
 };