Files
mesa/src/broadcom
Emma Anholt 4531b8ace4 treewide: Make exported DRM FDs read-write.
Without this, somebody trying to map a buffer for write by the CPU would
fail.  This is not common to do in hardware driver environments, but it
shouldn't be disallowed, and there's no downside to allowing it.

I did skip virgl, because that's one where I don't know for sure if there
wouldn't be a downside to allowing RDWR (there are other virt exports
where RDWR is gated on a mappable flag).

This is a follow-up to !37088 to keep copy and paste from introducing the
same bug anywhere else.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37339>
2025-09-27 19:46:14 +00:00
..
2024-12-13 12:29:11 +00:00
2024-12-02 14:13:24 +00:00
2024-12-13 12:29:11 +00:00