On Wed, Nov 8, 2023 at 11:46 PM Simon Ser <contact@xxxxxxxxxxx> 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@xxxxxxxxxxxx/