]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: re-work VM syncing
authorChristian König <christian.koenig@amd.com>
Tue, 20 Aug 2024 10:01:22 +0000 (12:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Sep 2024 21:36:24 +0000 (17:36 -0400)
commit4da5a95bf125fd682249f60e296455c6413b4e10
tree3493c613eb2d4f9ae3af967c3669e66d88a1f1d1
parent7a199557643e993d4e7357860624b8aa5d8f4340
drm/amdgpu: re-work VM syncing

Rework how VM operations synchronize to submissions. Provide an
amdgpu_sync container to the backends instead of an reservation
object and fill in the amdgpu_sync object in the higher layers
of the code.

No intended functional change, just prepares for upcomming changes.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c