Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-04-20 Thread Maxime Ripard
Hi, On Tue, Apr 18, 2017 at 06:10:26PM +0800, Chen-Yu Tsai wrote: > >> >> >> @@ -540,14 +539,22 @@ static int sun4i_tcon_bind(struct device *dev, > >> >> >> struct device *master, > >> >> >> /* This can fail if the DT does not have any downstream > >> >> >> encoders. */ > >> >> >> t

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-04-18 Thread Chen-Yu Tsai
On Tue, Apr 18, 2017 at 5:57 PM, Maxime Ripard wrote: > Hi Chen-Yu, > > On Sat, Apr 08, 2017 at 01:30:55AM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Thu, Mar 9, 2017 at 10:40 PM, Maxime Ripard >> wrote: >> > On Thu, Mar 09, 2017 at 07:20:30PM +0800, Chen-Yu Tsai wrote: >> >> On Thu, Mar 9, 2017

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-04-18 Thread Maxime Ripard
Hi Chen-Yu, On Sat, Apr 08, 2017 at 01:30:55AM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Mar 9, 2017 at 10:40 PM, Maxime Ripard > wrote: > > On Thu, Mar 09, 2017 at 07:20:30PM +0800, Chen-Yu Tsai wrote: > >> On Thu, Mar 9, 2017 at 6:36 PM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > O

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-04-09 Thread Chen-Yu Tsai
Hi, On Thu, Mar 9, 2017 at 10:40 PM, Maxime Ripard wrote: > On Thu, Mar 09, 2017 at 07:20:30PM +0800, Chen-Yu Tsai wrote: >> On Thu, Mar 9, 2017 at 6:36 PM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Thu, Mar 09, 2017 at 06:05:32PM +0800, Chen-Yu Tsai wrote: >> >> Some Allwinner SoCs have two

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-03-09 Thread Chen-Yu Tsai
On Thu, Mar 9, 2017 at 6:36 PM, Maxime Ripard wrote: > Hi, > > On Thu, Mar 09, 2017 at 06:05:32PM +0800, Chen-Yu Tsai wrote: >> Some Allwinner SoCs have two display pipelines (frontend -> backend -> >> tcon). >> >> Previously we only supported one pipeline. This patch extends the >> current driver

[PATCH 09/11] drm/sun4i: Support two display pipelines

2017-03-09 Thread Chen-Yu Tsai
Some Allwinner SoCs have two display pipelines (frontend -> backend -> tcon). Previously we only supported one pipeline. This patch extends the current driver to support two. It extends the tcon and backend pointers in sun4i_drv into arrays, and makes the related bind functions store the pointer i

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-03-09 Thread Maxime Ripard
On Thu, Mar 09, 2017 at 07:20:30PM +0800, Chen-Yu Tsai wrote: > On Thu, Mar 9, 2017 at 6:36 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Mar 09, 2017 at 06:05:32PM +0800, Chen-Yu Tsai wrote: > >> Some Allwinner SoCs have two display pipelines (frontend -> backend -> > >> tcon). > >> > >> Pre

Re: [PATCH 09/11] drm/sun4i: Support two display pipelines

2017-03-09 Thread Maxime Ripard
Hi, On Thu, Mar 09, 2017 at 06:05:32PM +0800, Chen-Yu Tsai wrote: > Some Allwinner SoCs have two display pipelines (frontend -> backend -> > tcon). > > Previously we only supported one pipeline. This patch extends the > current driver to support two. It extends the tcon and backend pointers > in