diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-07-16 09:44:14 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-07-22 08:34:29 -0700 |
| commit | bd72d4acda1069579b35123e3cc0b21ec1193a21 (patch) | |
| tree | 71a0e3c6bc2e348027add08b566363eb2c0ff577 /rust/helpers/workqueue.c | |
| parent | 956f82e529dd283382f080273ed3b8db1e978699 (diff) | |
accel/amdxdna: Support user space allocated buffer
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
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
