Re: [PATCH v2] drm/omap: plane zpos/zorder management improvements

2018-01-04 Thread Tomi Valkeinen
Hi, On 03/01/18 11:16, Peter Ujfalusi wrote: > Use the plane index as default zpos for all planes. Even if the > application is not setting zpos/zorder explicitly we will have unique zpos > for each plane. > > Enforce that all planes must have unique zpos by refusing atomic update for > planes wi

[PATCH v2] drm/omap: plane zpos/zorder management improvements

2018-01-03 Thread Peter Ujfalusi
Use the plane index as default zpos for all planes. Even if the application is not setting zpos/zorder explicitly we will have unique zpos for each plane. Enforce that all planes must have unique zpos by refusing atomic update for planes with already used zpos. Signed-off-by: Peter Ujfalusi ---