mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 23:38:10 +02:00
Currently it is not possible to mmap() the exported dma-bufs from etnaviv for writing, through the GBM APIs, such as gbm_bo_get_fd(). etna_bo_dmabuf() calls drmPrimeHandleToFD() only with DRM_CLOEXEC flag, omitting DRM_RDWR. A typical call sequence, ending in etna_bo_dmabuf, for illustration: gbm_bo_get_fd -> gbm_dri_bo_get_fd -> dri2_query_image -> dri2_query_image_by_resource_handle -> etna_resource_get_handle -> etna_bo_dmabuf. Signed-off-by: Nikolas Zimmermann <nzimmermann@igalia.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34213> |
||
|---|---|---|
| .. | ||
| ci | ||
| common | ||
| drm | ||
| drm-shim | ||
| hw | ||
| hwdb | ||
| isa | ||
| meson.build | ||