There are instances where the primary plane may have been disabled, look
through disabled planes as well to find primary plane to use for squash.
Signed-off-by: Adrian Salido
---
drmdisplaycompositor.cpp | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a
Precomp layers may be added to the back at different points which may
cause elements to be unsorted. Make sure that these are sorted after
provisioning planes to ensure right composition based on zorder.
Signed-off-by: Adrian Salido
---
drmdisplaycomposition.cpp | 3 +++
1 file changed, 3