Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: update pd while updating vm as well

Change-Id: I93a861cd6707f7d91672b9e19757cc50008cd7a2
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>

authored by

Chunming Zhou and committed by
Alex Deucher
43c27fb5 5d82730a

+3
+3
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
··· 483 483 if (domain == AMDGPU_GEM_DOMAIN_CPU) 484 484 goto error_unreserve; 485 485 } 486 + r = amdgpu_vm_update_page_directory(adev, bo_va->vm); 487 + if (r) 488 + goto error_unreserve; 486 489 487 490 r = amdgpu_vm_clear_freed(adev, bo_va->vm); 488 491 if (r)