Re: [PATCH v2 15/19] drm/sun4i: backend: Check for the number of alpha planes

2018-01-28 Thread Chen-Yu Tsai
On Mon, Jan 22, 2018 at 6:35 PM, Maxime Ripard wrote: > Due to the way the composition is done in hardware, we can only have a > single alpha-enabled plane active at a time, placed in the second (highest > priority) pipe. > > Make sure of that in our atomic_check to not end up in an impossible > s

[PATCH v2 15/19] drm/sun4i: backend: Check for the number of alpha planes

2018-01-22 Thread Maxime Ripard
Due to the way the composition is done in hardware, we can only have a single alpha-enabled plane active at a time, placed in the second (highest priority) pipe. Make sure of that in our atomic_check to not end up in an impossible scenario. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i