Linux Samsung SOC development
 help / color / mirror / Atom feed
* [PATCH 0/1] v4l: videobuf2: Add DMA pool allocator
@ 2010-12-30  4:55 Jeongtae Park
  2010-12-30  4:55 ` [PATCH 1/1] " Jeongtae Park
  2011-01-17 15:48 ` [PATCH 0/1] " Marek Szyprowski
  0 siblings, 2 replies; 5+ messages in thread
From: Jeongtae Park @ 2010-12-30  4:55 UTC (permalink / raw)
  To: linux-media, linux-samsung-soc
  Cc: k.debski, jaeryul.oh, jonghun.han, m.szyprowski, kgene.kim

Hello!

The DMA pool allocator allocates a memory using dma_alloc_coherent(),
creates a pool using generic allocator in the initialization.
For every allocation requests, the allocator returns a part of its
memory pool using generic allocator instead of new memory allocation.

This allocator used for devices have below limitations.
- the start address should be aligned
- the range of memory access limited to the offset from the start
  address (= the allocation address should be existed in a
  constant offset from the start address)
- the allocation address should be aligned

I would be grateful for your comments.

This patch series contains:

[PATCH 1/1] v4l: videobuf2: Add DMA pool allocator

Best regards,
Jeongtae Park

Patch summary:

Jeongtae Park (1):
      v4l: videobuf2: Add DMA pool allocator

 drivers/media/video/Kconfig              |    7 +
 drivers/media/video/Makefile             |    1 +
 drivers/media/video/videobuf2-dma-pool.c |  310 ++++++++++++++++++++++++++++++
 include/media/videobuf2-dma-pool.h       |   37 ++++
 4 files changed, 355 insertions(+), 0 deletions(-)
 create mode 100644 drivers/media/video/videobuf2-dma-pool.c
 create mode 100644 include/media/videobuf2-dma-pool.h

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH 0/1] Add videobuf2 DMA pool allocator
@ 2011-03-09 13:11 Jeongtae Park
  2011-03-09 13:11 ` [PATCH 1/1] v4l: videobuf2: Add " Jeongtae Park
  0 siblings, 1 reply; 5+ messages in thread
From: Jeongtae Park @ 2011-03-09 13:11 UTC (permalink / raw)
  To: linux-media, linux-samsung-soc; +Cc: jaeryul.oh, kgene.kim, jonghun.han

Hello!

The DMA pool allocator allocates a memory using dma_alloc_coherent(),
creates a pool using generic allocator in the initialization.
For every allocation requests, the allocator returns a part of its
memory pool using generic allocator instead of new memory allocation.

This allocator used for devices have below limitations.
- the start address should be aligned
- the range of memory access limited to the offset from the start
  address (= the allocation address should be existed in a
  constant offset from the start address)
- the allocation address should be aligned

* This patch is same previous sent one.
  But, It is based on git://linuxtv.org/media_tree.git tree,
  staging/for_v2.6.39 branch

I would be grateful for your comments.

This patch series contains:

[PATCH 1/1] v4l: videobuf2: Add DMA pool allocator

Best regards,
Jeongtae Park

Patch summary:

Jeongtae Park (1):
      v4l: videobuf2: Add DMA pool allocator

 drivers/media/video/Kconfig              |    7 +
 drivers/media/video/Makefile             |    1 +
 drivers/media/video/videobuf2-dma-pool.c |  310 ++++++++++++++++++++++++++++++
 include/media/videobuf2-dma-pool.h       |   37 ++++
 4 files changed, 355 insertions(+), 0 deletions(-)
 create mode 100644 drivers/media/video/videobuf2-dma-pool.c
 create mode 100644 include/media/videobuf2-dma-pool.hHello!

The DMA pool allocator allocates a memory using dma_alloc_coherent(),
creates a pool using generic allocator in the initialization.
For every allocation requests, the allocator returns a part of its
memory pool using generic allocator instead of new memory allocation.

This allocator used for devices have below limitations.
- the start address should be aligned
- the range of memory access limited to the offset from the start
  address (= the allocation address should be existed in a
  constant offset from the start address)
- the allocation address should be aligned

* This patch is same previous sent one.
  But, It is based on git://linuxtv.org/media_tree.git tree,
  staging/for_v2.6.39 branch

I would be grateful for your comments.

This patch series contains:

[PATCH 1/1] v4l: videobuf2: Add DMA pool allocator

Best regards,
Jeongtae Park

Patch summary:

Jeongtae Park (1):
      v4l: videobuf2: Add DMA pool allocator

 drivers/media/video/Kconfig              |    7 +
 drivers/media/video/Makefile             |    1 +
 drivers/media/video/videobuf2-dma-pool.c |  310 ++++++++++++++++++++++++++++++
 include/media/videobuf2-dma-pool.h       |   37 ++++
 4 files changed, 355 insertions(+), 0 deletions(-)
 create mode 100644 drivers/media/video/videobuf2-dma-pool.c
 create mode 100644 include/media/videobuf2-dma-pool.h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-09 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-30  4:55 [PATCH 0/1] v4l: videobuf2: Add DMA pool allocator Jeongtae Park
2010-12-30  4:55 ` [PATCH 1/1] " Jeongtae Park
2011-01-17 15:48 ` [PATCH 0/1] " Marek Szyprowski
2011-01-18 11:27   ` Jeongtae Park
  -- strict thread matches above, loose matches on Subject: below --
2011-03-09 13:11 [PATCH 0/1] Add videobuf2 " Jeongtae Park
2011-03-09 13:11 ` [PATCH 1/1] v4l: videobuf2: Add " Jeongtae Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox