Loading
drm/amdgpu: Use vmemdup_array_user in amdgpu_bo_create_list_entry_array
Replace kvmalloc_array() + copy_from_user() with vmemdup_array_user() on the fast path. This shrinks the source code and improves separation between the kernel and userspace slabs. Signed-off-by:Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>