On Tue, Sep 2, 2025 at 8:46 AM Thierry Reding thierry.reding@gmail.com wrote:
From: Thierry Reding treding@nvidia.com
Add a callback to struct dma_heap_ops that heap providers can implement to show information about the state of the heap in debugfs. A top-level directory named "dma_heap" is created in debugfs and individual files will be named after the heaps.
I know its debugfs, but this feels a little loosey-goosey as an uAPI. Is there any expected format for the show function?
What would other dmabuf heaps ideally export via this interface?
Is there some consistent dma_heap-ish concept for it to justify it being under a dma_heap directory, and not just an independent debugfs file for the driver implementing the dmabuf heap?
thanks -john