xwayland: properly get FDs from multiplanar GBM BOs

Graphics / X.Org / X.Org Server - Lucas Stach [pengutronix.de] - 28 October 2022 12:38 UTC

Multiplanar GBM buffers can point to different objects from each plane. Use the _for_plane API when possible to retrieve the correct prime FD for each plane.

7d5ad2d37 xwayland: properly get FDs from multiplanar GBM BOs
hw/xwayland/xwayland-glamor-gbm.c | 66 +++++++++++++++++++++++++++++++++------
1 file changed, 57 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share