Skip to content

lima: support exporting dma_buf

Qiang Yu requested to merge enunes:lima-17.2-prime-export into lima-17.2

Created by: enunes

This enables lima to export a shared buffer from a dma_buf handle using the DRM prime infrastructure. With this, it is possible to export a gbm_bo allocated with lima to the display driver for rendering to a display.

This was tested on the Allwinner A20 with the sun4i-drm driver, along with lima.

Signed-off-by: Erico Nunes nunes.erico@gmail.com

Merge request reports