Re: [PATCH 06/10] drm/sun4i: Allow VI layers to be primary planes

2022-04-11 Thread Jernej Škrabec
Dne ponedeljek, 11. april 2022 ob 06:34:18 CEST je Samuel Holland napisal(a): > D1's mixer 1 has no UI layers, only a single VI layer. That means the > mixer can only be used if the primary plane comes from this VI layer. > Add the code to handle this case, setting the mixer's global registers > in

[PATCH 06/10] drm/sun4i: Allow VI layers to be primary planes

2022-04-10 Thread Samuel Holland
D1's mixer 1 has no UI layers, only a single VI layer. That means the mixer can only be used if the primary plane comes from this VI layer. Add the code to handle this case, setting the mixer's global registers in the same way as when the primary plane comes from a UI layer. Signed-off-by: Samuel