[PATCH v2 2/2] dma-buf: heaps: Give default CMA heap a fixed name
John Stultz
jstultz at google.com
Tue Apr 22 22:36:45 UTC 2025
On Tue, Apr 22, 2025 at 12:19 PM Jared Kangas <jkangas at redhat.com> wrote:
>
> The CMA heap's name in devtmpfs can vary depending on how the heap is
> defined. Its name defaults to "reserved", but if a CMA area is defined
> in the devicetree, the heap takes on the devicetree node's name, such as
> "default-pool" or "linux,cma". To simplify naming, just name it
> "default_cma", and keep a legacy node in place backed by the same
> underlying structure for backwards compatibility.
>
> Signed-off-by: Jared Kangas <jkangas at redhat.com>
Once again, thanks for working out how to improve the standard naming
while keeping compatibility.
I do still hope we can get to the point where other cma regions can be
registered as heaps with unique/purpose-specific names, but I can see
having a standard name for the default region is a nice improvement.
Acked-by: John Stultz <jstultz at google.com>
thanks
-john
More information about the dri-devel
mailing list