Forum Discussion
Altera_Forum
Honored Contributor
14 years agouse descriptor chain in SGDMA
Hi all My current goal is to use SGDMA (ST-to-MM) to transfer video data to a memory. Later on, I'll replace the memory by PCIE IP. My problem is how to use descriptor chain in SGDMA. ...
Altera_Forum
Honored Contributor
14 years agoIIRC (from other posts here) even alt_uncached_malloc() isn't guaranteed to return memory that doesn't share a cache line with other malloced memory (or the malloc systems red-tape), nor does it ensure the cache doesn't already contain data for the address range (which might be written out later).
Using globals would work - provided you mark them with __attribute__((aligned,32)) assuming 32 byte cache lines.