linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] videobuf2-dma-sg: Contiguos memory allocation
@ 2013-08-02 14:19 Ricardo Ribalda Delgado
  2013-08-02 14:19 ` [PATCH v4 1/2] videobuf2-dma-sg: Allocate pages as contiguous as possible Ricardo Ribalda Delgado
  2013-08-02 14:20 ` [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table Ricardo Ribalda Delgado
  0 siblings, 2 replies; 11+ messages in thread
From: Ricardo Ribalda Delgado @ 2013-08-02 14:19 UTC (permalink / raw)
  To: Jonathan Corbet, Mauro Carvalho Chehab, Pawel Osciak,
	Marek Szyprowski, Kyungmin Park, Ismael Luceno,
	Greg Kroah-Hartman, linux-media, Sylwester Nawrocki
  Cc: Ricardo Ribalda Delgado

Allocate memory as contiguos as possible to support dma engines with limitated amount of sg-descriptors.

Replace private structer vb2_dma_sg_desc with generic struct sg_table.

PS: This series of patches is the evolution of my previous patch for vb2-dma-sg to allocate the memory as contiguos as possible.

v4: Constains feedback from Andre Heider
Andre: spelling, spaces around <<  and &pages

v3: Constains feedback from Andre Heider
Andre: Fix error handling (--pages) was wrongly fixed

v2: Contains feedback from Andre Heider and Sylwester Nawrocki

Andre: Fix error handling (--pages)
Sylwester: Squash p3 and p4 into p2


Ricardo Ribalda Delgado (2):
  videobuf2-dma-sg: Allocate pages as contiguous as possible
  videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table

 drivers/media/platform/marvell-ccic/mcam-core.c    |   14 +-
 drivers/media/v4l2-core/videobuf2-dma-sg.c         |  149 +++++++++++---------
 drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c |   20 +--
 include/media/videobuf2-dma-sg.h                   |   10 +-
 4 files changed, 105 insertions(+), 88 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2014-01-13 13:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 14:19 [PATCH v4 0/2] videobuf2-dma-sg: Contiguos memory allocation Ricardo Ribalda Delgado
2013-08-02 14:19 ` [PATCH v4 1/2] videobuf2-dma-sg: Allocate pages as contiguous as possible Ricardo Ribalda Delgado
2013-08-02 14:20 ` [PATCH v4 2/2] videobuf2-dma-sg: Replace vb2_dma_sg_desc with sg_table Ricardo Ribalda Delgado
2014-01-03 14:52   ` Hans Verkuil
2014-01-03 15:17     ` Ricardo Ribalda Delgado
2014-01-03 15:36       ` Hans Verkuil
2014-01-03 15:51         ` Ricardo Ribalda Delgado
2014-01-08 14:07           ` Marek Szyprowski
2014-01-13  9:54             ` Hans Verkuil
2014-01-13 13:02               ` Marek Szyprowski
2014-01-13 13:49                 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).