drmmode: set plane zpos at init not when show cursor

The cursor plane 'zpos' property must be set to 1 to show the cursor.
However, this only needs to happen once, not every single time.

Now that we set this prop during init, we check for errors and fail

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

TEST=move cursor, tap key to hide cursor, move cursor again. repeat on HDMI

Change-Id: If348b519c5ca1c4b77f77cc01ab929498daba8c9
Reviewed-on: https://chromium-review.googlesource.com/198389
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Commit-Queue: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
1 file changed