ozone/drm: Don't reject negative z_order planes
The incoming z_order represents the relative ordering of the planes and is just used for sorting the list. Later we assign hw planes in matching stacking order, so as to preserve the relative order. There's nothing that prevents us from accepting negative z_order, so remove this check. This makes the underlay strategy work for ozone. Bug: 789288 Change-Id: I2961511de53b156042220edeccc4c93e4541d130 Reviewed-on: https://chromium-review.googlesource.com/969831Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org> Cr-Commit-Position: refs/heads/master@{#544836}
Showing
Please register or sign in to comment