Skip to contentSkip to conversation

snd_pcm_lib_preallocate_pages_for_all etc

DISCUSSION Adrian McMenamin 1 participant 1 message Feb 14, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Adrian McMenamin

To what extent, if any, can I rely on this function allocating real DMA buffers on my architecture (SH4)?

I suppose I should rephrase this as:

(For ALSA developers) - am I right in thinking that snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, 0, 0x40*0x400, 0x40*0x400);

will get dma_alloc_coherent to do the heavy lifing?

And

(For SH) - is dma_alloc_coherent fully working for the Dreamcast?

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642