On Tue, Jun 10, 2025 at 06:12:28AM -0700, Jared Kangas wrote:
> Hi all,
>
> This patch series is based on a previous discussion around CMA heap
> naming. [1] The heap's name depends on the device name, which is
> generally "reserved", "linux,cma", or &quo
Prepare for the introduction of a fixed-name CMA heap by replacing the
unused void pointer parameter in __add_cma_heap() with the heap name.
Reviewed-by: Maxime Ripard
Signed-off-by: Jared Kangas
---
drivers/dma-buf/heaps/cma_heap.c | 18 +++---
1 file changed, 11 insertions(+), 7
simplify naming, unconditionally name
it "default_cma_region", but keep a legacy node in place backed by the
same underlying allocator for backwards compatibility.
Reviewed-by: Maxime Ripard
Signed-off-by: Jared Kangas
---
Documentation/userspace-api/dma-buf-heaps.rst | 7 +--
Code snippets should be wrapped in double backticks to follow
reStructuredText semantics; the use of single backticks uses the
:title-reference: role by default, which isn't quite what we want.
Add double backticks to code snippets to fix this.
Reviewed-by: Maxime Ripard
Signed-off-by:
DhNCroe6ZBtN_o=c71kzffawk-ff5rcdnr9p5h1sgpows...@mail.gmail.com/
Jared Kangas (3):
Documentation: dma-buf: heaps: Fix code markup
dma-buf: heaps: Parameterize heap name in __add_cma_heap()
dma-buf: heaps: Give default CMA heap a fixed name
Documentation/userspace-api/dma-buf-heaps.r
simplify naming, unconditionally name
it "default_cma_region", but keep a legacy node in place backed by the
same underlying allocator for backwards compatibility.
Signed-off-by: Jared Kangas
---
Documentation/userspace-api/dma-buf-heaps.rst | 7 +--
drivers/dma-buf/heaps/Kconfig
Prepare for the introduction of a fixed-name CMA heap by replacing the
unused void pointer parameter in __add_cma_heap() with the heap name.
Signed-off-by: Jared Kangas
---
drivers/dma-buf/heaps/cma_heap.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a
PS_CMA_LEGACY prompt.
- Touch up commit log wording.
v2:
- Use tabs instead of spaces for large vertical alignment.
[1]: https://lore.kernel.org/all/f6412229-4606-41ad-8c05-7bbba2eb6...@ti.com/
[2]:
https://lore.kernel.org/all/CANDhNCroe6ZBtN_o=c71kzffawk-ff5rcdnr9p5h1sgpows...@mail.gmail.com
Code snippets should be wrapped in double backticks to follow
reStructuredText semantics; the use of single backticks uses the
:title-reference: role by default, which isn't quite what we want.
Add double backticks to code snippets to fix this.
Signed-off-by: Jared Kangas
---
Document
Hi Maxime,
On Thu, Apr 24, 2025 at 10:33:58AM +0200, Maxime Ripard wrote:
> Hi Jared,
>
> Thanks for working on this
>
> On Tue, Apr 22, 2025 at 12:19:39PM -0700, Jared Kangas wrote:
> > The CMA heap's name in devtmpfs can vary depending on how the heap is
> &g
Hi Sumit,
On Wed, Apr 23, 2025 at 08:53:20PM +0530, Sumit Semwal wrote:
> Hello Jared,
>
> On Wed, 23 Apr 2025 at 00:49, Jared Kangas wrote:
> >
> > Hi all,
> >
> > This patch series is based on a previous discussion around CMA heap
> > naming. [1] The
y involved solution for devtmpfs, but if I'm
wrong on this, please let me know.
Changelog:
v2: Use tabs instead of spaces for large vertical alignment.
Jared Kangas (2):
dma-buf: heaps: Parameterize heap name in __add_cma_heap()
dma-buf: heaps: Give default CMA heap a fixed name
Prepare for the introduction of a fixed-name CMA heap by replacing the
unused void pointer parameter in __add_cma_heap() with the heap name.
Signed-off-by: Jared Kangas
---
drivers/dma-buf/heaps/cma_heap.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a
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
---
Documentation/userspace-api/dma-buf-heaps.rst | 11 +++
drivers/dma-buf/heaps/Kconfig
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
---
Documentation/userspace-api/dma-buf-heaps.rst | 11 +++
drivers/dma-buf/heaps/Kconfig
Prepare for the introduction of a fixed-name CMA heap by replacing the
unused void pointer parameter in __add_cma_heap() with the heap name.
Signed-off-by: Jared Kangas
---
drivers/dma-buf/heaps/cma_heap.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a
y involved solution for devtmpfs, but if I'm
wrong on this, please let me know.
Thanks,
Jared
Jared Kangas (2):
dma-buf: heaps: Parameterize heap name in __add_cma_heap()
dma-buf: heaps: Give default CMA heap a fixed name
Documentation/userspace-api/dma-buf-heaps.rst | 11 ---
drive
17 matches
Mail list logo