Respect advertised zpos range from kernel
Commit ea1c5e5a ("drm_hwcomposer: Add z order support") broke hwcomposer on Qcom dragonboards (db410c/db820c) running AOSP and display doesn't come up on boot.
In logcat I see:
E hwc-drm-display-compositor: Commit test failed for display 0, FIXME
E hwc-drm-two: Failed to apply the frame composition ret=-22
E HWComposer: presentAndGetReleaseFences: present failed for display 0: BadParameter (4)
Here is the complete logcat dump: https://pastebin.ubuntu.com/p/3ywBFwRfk8/
Reverting this z-oder patch get AOSP boot to UI again.