Skip to content

treewide: give dma buf fd shares rdwr permissions

What does this MR do and why?

treewide: give dma buf fd shares rdwr permissions

This seems to be a treewide bug, freedreno does the correct perms,
uhhhh....ok.

Fixes: func.memory-fd.opaque.write.q0, func.memory-fd.dma-buf.write.q0

on NVK at least.

kmsro is spared since it doesnt seem to be reading or writting to the buf

Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>

This patch was a bit rushed, I think its correct though since it makes the crucibles pass.

Merge request reports

Loading