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