Skip to content

winsys/panfrost: export GEM handle with RDWR access rights

Jianfeng Liu requested to merge amazingfate/mesa:panfrost-mmap into main

What does this MR do and why?

winsys/panfrost: export GEM handle with RDWR access rights

Similar to
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10850,
chromium will fall with mmap when using LibYUVImageProcessor.

Tested with panthor dirver on rk3588 running rockchip's patched chromium
v122 and its rkmpp libv4l2 plugin.

More detailed info at: https://github.com/JeffyCN/libv4l-rkmpp/issues/22.

Merge request reports