Re: [PATCH v3 4/8] drm/sun4i: backend: Assign the pipes automatically

2018-02-22 Thread Chen-Yu Tsai
On Sat, Feb 17, 2018 at 1:39 AM, Maxime Ripard wrote: > Since we now have a way to enforce the zpos, check for the number of alpha > planes, the only missing part is to assign our pipe automatically instead > of hardcoding it. > > The algorithm is quite simple, but requires two iterations over the

[PATCH v3 4/8] drm/sun4i: backend: Assign the pipes automatically

2018-02-16 Thread Maxime Ripard
Since we now have a way to enforce the zpos, check for the number of alpha planes, the only missing part is to assign our pipe automatically instead of hardcoding it. The algorithm is quite simple, but requires two iterations over the list of planes. In the first one (which is the same one that w