projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d82730
)
drm/amdgpu: update pd while updating vm as well
author
Chunming Zhou
<David1.Zhou@amd.com>
Thu, 12 Nov 2015 07:33:09 +0000
(15:33 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 16 Nov 2015 16:06:00 +0000
(11:06 -0500)
Change-Id: I93a861cd6707f7d91672b9e19757cc50008cd7a2
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 087332858853c81da5db0121af9254bdff1db1cb..16dca46314bdc084d0f34a3cc6fac2c0f13cc1f1 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@
-483,6
+483,9
@@
static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
if (domain == AMDGPU_GEM_DOMAIN_CPU)
goto error_unreserve;
}
+ r = amdgpu_vm_update_page_directory(adev, bo_va->vm);
+ if (r)
+ goto error_unreserve;
r = amdgpu_vm_clear_freed(adev, bo_va->vm);
if (r)