Skip to content

v3d: avoid allocating tiled resources using the display gpu.

If we are using modifiers and tiled formats for shared resources, we can assume that in a renderonly setup this can be allocated by at SHMEM with the non-display GPU (V3D) instead of using CMA memory in the display GPU.

This avoids running out of CMA memory on 4k displays when running mutter on X11. With this patch if we have dmabuf_capability enabled in the X server we avoid using CMA memory for the resources backing every available window.

Fixes piglit test ext_image_dma_buf_import-export-tex.

This would fix for V3D #5237 (closed)

Merge request reports