09-21-2020 02:17 AM
Ok,I have some video data at DDR memory,similar to a framebuffer.Now, I want to use dpdma to move data to Display Port and display in linux. I refer baremetal dpdma code and linux device tree, I directly mmap register address of dpdma to linux userspace and configure it,but I failed, can you give me some suggestion,thank you！
10-15-2020 06:56 AM
There should be a driver in linux so you do not have to configure the registers directly.
The Zynq UltraScale MPSoC Base TRD is using the Displayport Controller with the DPDMA you might want to have a look on how it is working
10-22-2020 01:26 AM
Unfortunately the TRD is the only the resource I know showing an example using the DPDMA. But keep in mind again that this is using the driver so there is no code in the userspace. This is all managed at framework level
10-22-2020 02:08 AM
OK, Thanks, your meaning that I should operate in linux driver layers rather than user layer when I want to use dpdma driver. can v4l2 driver solve the problem? or need myself to edit a driver to invoke dpdam driver.
10-22-2020 02:40 AM
Because this is associated with the Dp controller, you need to use the DRM KMS driver.
Then you can control the flow using Gstreamer