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 <email@example.com>
TEST=move cursor, tap key to hide cursor, move cursor again. repeat on HDMI
Reviewed-by: Sean Paul <firstname.lastname@example.org>
Commit-Queue: Daniel Kurtz <email@example.com>
Tested-by: Daniel Kurtz <firstname.lastname@example.org>
1 file changed