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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

525 Views
crg7475
Contributor III

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