drm/amdgpu: map VM BOs for CPU based updates only once
authorChristian König <christian.koenig@amd.com>
Wed, 12 Jul 2017 08:01:48 +0000 (10:01 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:45 +0000 (11:06 -0400)
commit0a096fb66a60def858d1d893dad92b3dd0564b79
tree5ad034f560b23beeb1679e14293ad47d9def3969
parent6375bbb4d259416ad867ab887333ee88d1b90323
drm/amdgpu: map VM BOs for CPU based updates only once

No need to try to map them every time.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c