drm/amdgpu: fix amdgpu_vm_bo_reset_state_machine
authorChristian König <christian.koenig@amd.com>
Fri, 22 May 2026 09:22:10 +0000 (11:22 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 May 2026 20:19:40 +0000 (16:19 -0400)
commit989bdec8ca04a4f4855981a68ad295dcc257291f
treebe949b80ca2603f4007aa41f54d29bbeb960070d
parentc9b2ad100b10dabe0bea691001b0808b4f0fcc55
drm/amdgpu: fix amdgpu_vm_bo_reset_state_machine

Can't splice the list but need to handle each entry individually.

Otherwise we run into issues after a GPU reset.

Fixes: 4cdbba5a16aa ("drm/amdgpu: restructure VM state machine v4")
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jesse Zhang <jesse.zhang@amd.com>
Tested-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c