[linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-03-07 Thread Maxime Ripard
The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI controller. That HDMI controller is able to do audio and CEC, but those have been left out for now. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Makefile | 5 +- drivers/gpu/drm/sun4i/sun4i_hdmi.h

Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-04-21 Thread Chen-Yu Tsai
Hi, On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI > controller. > > That HDMI controller is able to do audio and CEC, but those have been left > out for now. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/

Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-04-25 Thread Maxime Ripard
Hi Chen-Yu, On Fri, Apr 21, 2017 at 11:17:17PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard > wrote: > > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI > > controller. > > > > That HDMI controller is able to do audio and CEC, but thos

Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-04-26 Thread Chen-Yu Tsai
On Wed, Apr 26, 2017 at 2:50 PM, Maxime Ripard wrote: > Hi Chen-Yu, > > On Fri, Apr 21, 2017 at 11:17:17PM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard >> wrote: >> > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI >> > controller. >

Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-05-03 Thread Maxime Ripard
On Wed, Apr 26, 2017 at 03:59:28PM +0800, Chen-Yu Tsai wrote: > >> > + writel(SUN4I_HDMI_VID_TIMING_X(mode->hdisplay) | > >> > + SUN4I_HDMI_VID_TIMING_Y(mode->vdisplay), > >> > + hdmi->base + SUN4I_HDMI_VID_TIMING_ACT_REG); > >> > + > >> > + x = mode->htotal -