Hello I need to use DMA for communication with GPU.
Basically I have:
-> myOwn buffer, where I am painting things in some place in memory let's call it myBufferPtr
-> GPU physical memory used for drawing things on the screen. Let's call it GPUBufferPtr
as I do not know what address will be returned from GPU I need to have some sort of function, that uniformly translates
physical addresses to the BUS addresses, which I need for DMA usage.
Unfortunatelly I could not find any uniform map, that says us what is mapped where. Documentation is clear only for parts of memory (eg. only peripherals part of memory)
Question is how can I do mapping from one address to the another?
Thanks in advance