Skip to content

amdgpu: Allow creating userptr BO's from files

Kenny Levinsen requested to merge kennylevinsen/drm:userptr-bo into main

When creating BOs from a userptr, AMDGPU_GEM_USERPTR_ANONONLY was specified which will cause validation to fail if the mapping is backed by a file.

This is an issue when trying to import shm-backed buffers, as might often be the case for Wayland clients. Remove this restriction to allow the use of shm-backed buffers.

Merge request reports