All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5] modify videobuf2-dma-contig and update sta2x11_vip
@ 2013-01-10 12:46 ` Federico Vaga
  0 siblings, 0 replies; 25+ messages in thread
From: Federico Vaga @ 2013-01-10 12:46 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Pawel Osciak, Marek Szyprowski,
	Hans Verkuil
  Cc: Kamil Debski, Srinivas Kandagatla, Peter Senna Tschudin,
	Laurent Pinchart, devel, Giancarlo Asnaghi, linux-samsung-soc,
	Jonathan Corbet, Sachin Kamat, Prabhakar Lad, Sasha Levin,
	linux-media, Tomasz Stanislawski, davinci-linux-open-source,
	Mauro Carvalho Chehab, Jeongtae Park, Andrzej Pietrasiewicz,
	Sylwester Nawrocki, linux-arm-kernel, Fabio Estevam, Sakari Ailus,
	Scott


Just one comment about the first patch. I modified the prototype of the 
dma-contig context allocator:

   -void *vb2_dma_contig_init_ctx(struct device *dev);
   +void *vb2_dma_contig_init_ctx(struct device *dev, gfp_t mem_flags);

Now it accepts a gfp_t parameter to specify the memory flags to use during
buffer allocation. I also modified all existent drivers according to this
modification. I cannot do a compile test on every different platform (I don't
have the time and it takes long time); the modification is tiny but just to
be sure please take a look at it.

To find all drivers which use this memory allocator, I simply did:

   git grep -n -C 1 vb2_dma_contig_init_ctx

and edited all the driver found. If I forgot someone, please tell me

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

end of thread, other threads:[~2013-01-10 16:06 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 12:46 [PATCH v5] modify videobuf2-dma-contig and update sta2x11_vip Federico Vaga
2013-01-10 12:46 ` Federico Vaga
2013-01-10 12:46 ` [PATCH v5 1/3] videobuf2-dma-contig: user can specify GFP flags Federico Vaga
2013-01-10 12:46   ` Federico Vaga
2013-01-10 14:16   ` Laurent Pinchart
2013-01-10 14:32   ` Federico Vaga
2013-01-10 14:32     ` Federico Vaga
2013-01-10 12:46 ` [PATCH v5 2/3] sta2x11_vip: convert to videobuf2 and control framework Federico Vaga
2013-01-10 12:46   ` Federico Vaga
2013-01-10 12:57   ` Federico Vaga
2013-01-10 12:57     ` Federico Vaga
2013-01-10 14:41     ` Hans Verkuil
2013-01-10 14:41       ` Hans Verkuil
2013-01-10 14:58       ` Federico Vaga
2013-01-10 14:58         ` Federico Vaga
2013-01-10 14:01   ` Dan Carpenter
2013-01-10 14:01     ` Dan Carpenter
2013-01-10 14:43     ` Federico Vaga
2013-01-10 14:43       ` Federico Vaga
2013-01-10 12:46 ` [PATCH v5 3/3] adv7180: remove {query/g_/s_}ctrl Federico Vaga
2013-01-10 12:46   ` Federico Vaga
2013-01-10 15:22 ` [PATCH v5] modify videobuf2-dma-contig and update sta2x11_vip Federico Vaga
2013-01-10 15:22   ` Federico Vaga
2013-01-10 16:06   ` Mauro Carvalho Chehab
2013-01-10 16:06     ` Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.