]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: re-create idle bo's PTE during VM state machine reset
authorZhenGuo Yin <zhenguo.yin@amd.com>
Tue, 19 Dec 2023 06:39:42 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 20:28:10 +0000 (15:28 -0500)
commit4a0057afa35872a5f2e65576785844688dd9fa5e
treef8fb56de7ae5ac3112ea4a1415d4a823f7386e28
parent81b9aeb7b995f3870d691ec5ea95518d5b169203
drm/amdgpu: re-create idle bo's PTE during VM state machine reset

Idle bo's PTE needs to be re-created when resetting VM state machine.
Set idle bo's vm_bo as moved to mark it as invalid.

Fixes: 55bf196f60df ("drm/amdgpu: reset VM when an error is detected")
Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c