+114
−25
drivers/accel/amdxdna/amdxdna_ubuf.c
0 → 100644
+232
−0
drivers/accel/amdxdna/amdxdna_ubuf.h
0 → 100644
+19
−0
Loading
Enhance DRM_IOCTL_AMDXDNA_CREATE_BO to accept user space allocated buffer pointer. The buffer pages will be pinned in memory. Unless the CAP_IPC_LOCK is enabled for the application process, the total pinned memory can not beyond rlimit_memlock. Reviewed-by:Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Signed-off-by:
Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/20250716164414.112091-1-lizhi.hou@amd.com