summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2019-03-14 09:10:01 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-09-16 10:42:55 -0500
commit807e2994092c0bd863c0141c99f5e3f807d4c7f8 (patch)
tree45fec8f8a69063fc9de73644f967b2863d149304 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent47ca7efa4c13f8698cddc0b9c96938e7febe9258 (diff)
downloadlinux-stable-807e2994092c0bd863c0141c99f5e3f807d4c7f8.tar.gz
linux-stable-807e2994092c0bd863c0141c99f5e3f807d4c7f8.tar.bz2
linux-stable-807e2994092c0bd863c0141c99f5e3f807d4c7f8.zip
drm/amdgpu: allow direct submission of PDE updates v2
For handling PDE updates directly in the fault handler. v2: fix typo in comment Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index e145899862cd..a828e3d0bfbd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -525,7 +525,7 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
goto error;
}
- r = amdgpu_vm_update_directories(adev, vm);
+ r = amdgpu_vm_update_pdes(adev, vm, false);
error:
if (r && r != -ERESTARTSYS)