DMA-BUF sync not working and "causing issues" in newer 5.10 / 5.15 kernels?

cancel
Showing results for 
Search instead for 
Did you mean: 

DMA-BUF sync not working and "causing issues" in newer 5.10 / 5.15 kernels?

105 Views
crg7475
Contributor II

This commit from NXP's gst-plugins-base fork states that DMA_BUF_IOCTL_SYNC should not be used because "it causes issue".

https://source.codeaurora.org/external/imx/gst-plugins-base/commit/?h=MM_04.06.04_2112_L5.15.y&id=6d...

Which issue is that? I can see that the DMA_BUF_IOCTL_PHYS is necessary to actually sync the CPU cache with the DRAM (which is what DMA_BUF_IOCTL_SYNC should do, but it's broken in the NXP kernel). But what issues does the broken DMA_BUF_IOCTL_SYNC cause?

Furthermore, will this be resolved? Is this planned?

0 Kudos
0 Replies