I need to use EDMA to do mem copy in my application on EVMDM6446. As DM355 has provided a kernel module dm350mmap for EDMA memcpy,
which is in dvsdk/dm355_codecs/dm355mm/module, I think it is a good base for implementing DM6446 EDMA memcpy.
I reviewed dm350mmap.c and don't think I should change anything. After rebuilding the .ko for DM6446, I replace the demos/dm6446/utils/rszcopy
with demos/dm355/utils/rszcopy, rebuilt the rszcopy and encodedecode demo. Unfortunately , runing encodedeocde on EVMDM6446 will hang up os.
If I add some printk in dm350mmap.c for each ioctl call, encodedeocde will run ok but slowly.
dm350mmap.c is developped for DM355, but I can't find any code specific to DM355. Can anyone give me some hint? thanks.