[RFC PATCH 2/2] vc4: introduce DMA-BUF heap

T.J. Mercier tjmercier at google.com
Thu Nov 9 15:14:51 UTC 2023


On Wed, Nov 8, 2023 at 11:46 PM Simon Ser <contact at emersion.fr> wrote:
>
> +int vc4_dma_heap_create(struct vc4_dev *vc4)
> +{
> +       struct dma_heap_export_info exp_info;
> +       struct dma_heap *heap;
> +
> +       exp_info.name = "vc4"; /* TODO: allow multiple? */
> +       exp_info.ops = &vc4_dma_heap_ops;
> +       exp_info.priv = vc4; /* TODO: unregister when unloading */
> +

So unregistering a heap isn't currently possible, but we're trying to
enable that here:
https://lore.kernel.org/all/20231106120423.23364-7-yunfei.dong@mediatek.com/


More information about the dri-devel mailing list