]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: fix nullptr err of vm_handle_moved
authorHeng Zhou <Heng.Zhou@amd.com>
Wed, 13 Aug 2025 03:18:04 +0000 (11:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Aug 2025 17:04:07 +0000 (13:04 -0400)
commit859958a7faefe5b7742b7b8cdbc170713d4bf158
tree7c306557ebccb84bfe08690e6797588c08e822bb
parent3a75edf93aaec4a3178bdae64723fb41992398f2
drm/amdgpu: fix nullptr err of vm_handle_moved

If a amdgpu_bo_va is fpriv->prt_va, the bo of this one is always NULL.
So, such kind of amdgpu_bo_va should be updated separately before
amdgpu_vm_handle_moved.

Signed-off-by: Heng Zhou <Heng.Zhou@amd.com>
Reviewed-by: Kasiviswanathan, Harish <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c