On 10/29/2025 4:43 PM, Jeff Hugo wrote:
> On 10/29/2025 3:17 AM, Karol Wachowski wrote:
>> From: Jacek Lawrynowicz <[email protected]>
>>
>> Introduce a new ioctl `drm_ivpu_bo_create_from_userptr` that allows
>> users to create GEM buffer objects from user pointers to memory regions.
>> The user pointer must be page-aligned and the memory region must remain
>> valid for the buffer object's lifetime.
>>
>> Userptr buffers enable direct use of mmapped files (e.g. inference
>> weights) in NPU workloads without copying data to NPU buffer objects.
>> This reduces memory usage and provides better flexibility for NPU
>> applications.
>>
>> Signed-off-by: Jacek Lawrynowicz <[email protected]>
>> Signed-off-by: Karol Wachowski <[email protected]>
>>
>
> Reviewed-by: Jeff Hugo <[email protected]>
Pushed to drm-misc-next.
-Karol