drm/amdgpu: Revert "kmap PDs/PTs in amdgpu_vm_update_directories"
authorChristian König <christian.koenig@amd.com>
Thu, 30 Aug 2018 07:45:07 +0000 (09:45 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2018 14:03:45 +0000 (09:03 -0500)
commit17cc525206d6dba36d0fde12fd512c77dcfa1954
tree69f0d8054b9571c68b1a5d39380c5829e67b8e01
parentec210e3226dc0b481ac1b33082b3b508f89387e3
drm/amdgpu: Revert "kmap PDs/PTs in amdgpu_vm_update_directories"

This reverts commit a7f91061c60ad9cac2e6a03b642be6a4f88b3662.

Felix pointed out that we need to have the BOs mapped even before
amdgpu_vm_update_directories is called.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c