public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Contiguous memory allocations
@ 2010-07-02 20:47 Eric Nelson
  2010-07-05 10:10 ` Chris Simmonds
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Nelson @ 2010-07-02 20:47 UTC (permalink / raw)
  To: video4linux-list

Does anyone know if there's a common infrastructure for allocation
of DMA'able memory by drivers and applications above the straight
kernel API (dma_alloc_coherent)?

I'm working with Freescale i.MX51 drivers to do 720P video 
input and output and the embedded calls to dma_alloc_coherent
fail except when used right after boot because of fragmentation.

I'm fighting the urge to write yet another special-purpose allocator
for video buffers thinking this must be a common problem with a
solution already, but I can't seem to locate one.

The closest thing I've found is the bigphysarea patch, which doesn't
appear to be supported or headed toward main-line.

Thanks in advance,


Eric Nelson


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2010-07-05 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02 20:47 Contiguous memory allocations Eric Nelson
2010-07-05 10:10 ` Chris Simmonds
2010-07-05 14:27   ` Eric Nelson
2010-07-05 15:31     ` Chris Simmonds
2010-07-05 16:14       ` Eric Nelson

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