Skip to content

radeon: Support shared memory user pointers.

Jason Volk requested to merge jevolk/mesa:radeon_usershm into main

The RADEON_GEM_USERPTR_ANONONLY flag is hardcoded here which excludes shared memory pages. DRM is actually capable of supporting shared file- backed memory, but only if it's read-only. This mutability intent has to be conveyed through the stack, so a flags argument is added to the winsys regime to pass RADEON_FLAG_READ_ONLY.

Merge request reports