aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>2025-06-12 11:44:26 +0100
committerAlex Deucher <alexander.deucher@amd.com>2025-09-15 16:51:34 -0400
commitc4ac100e9ae252b09986766ad23b1f83ca3a369d (patch)
tree5867d8f7a3600ba7e58a06e09d7581202e959e37 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: Remove volatile references from VCN (diff)
downloadlinux-c4ac100e9ae252b09986766ad23b1f83ca3a369d.tar.gz
linux-c4ac100e9ae252b09986766ad23b1f83ca3a369d.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions