gbm: add gbm_bo_get_fd_for_plane
This commit adds a new gbm_bo_get_fd_for_plane function, which does the same as gbm_bo_get_fd but allows specifying the plane.
Signed-off-by: Simon Ser contact@emersion.fr Suggested-by: Daniel Stone daniels@collabora.com
cc @daniels
Edited by Simon Ser