aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c
diff options
context:
space:
mode:
authorPiotr Piórkowski <[email protected]>2025-08-11 10:43:58 +0000
committerRodrigo Vivi <[email protected]>2025-08-21 19:06:58 +0000
commit8a30114073639fd97f2c7390abbc34fb8711327a (patch)
treeb36e3866dd05c4fd8c30a2331eaef7431b4d3edf /drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c
parentdrm/xe: Assign ioctl xe file handler to vm in xe_vm_create (diff)
downloadkernel-8a30114073639fd97f2c7390abbc34fb8711327a.tar.gz
kernel-8a30114073639fd97f2c7390abbc34fb8711327a.zip
drm/xe: Move ASID allocation and user PT BO tracking into xe_vm_create
Currently, ASID assignment for user VMs and page-table BO accounting for client memory tracking are performed in xe_vm_create_ioctl. To consolidate VM object initialization, move this logic to xe_vm_create. v2: - removed unnecessary duplicate BO tracking code - using the local variable xef to verify whether the VM is being created by userspace Fixes: 658a1c8e0a66 ("drm/xe: Assign ioctl xe file handler to vm in xe_vm_create") Suggested-by: Matthew Auld <[email protected]> Signed-off-by: Piotr Piórkowski <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michał Winiarski <[email protected]> (cherry picked from commit 30e0c3f43a414616e0b6ca76cf7f7b2cd387e1d4) Signed-off-by: Rodrigo Vivi <[email protected]> [Rodrigo: Added fixes tag]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c')
0 files changed, 0 insertions, 0 deletions