drm/amdgpu: fix amdgpu_vm_clear_freed v2
authorChristian König <christian.koenig@amd.com>
Wed, 19 Apr 2017 12:41:19 +0000 (14:41 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:47 +0000 (17:32 -0400)
commitfc6aa33da4b1043ad1b337d051770993418256d2
treebb7bd7be91d9c10da4bef194d03590e75d1c43a4
parente3c5e9826d60630236de105c05e7a58f12c45ab5
drm/amdgpu: fix amdgpu_vm_clear_freed v2

Use amdgpu_vm_bo_update_mapping() instead of amdgpu_vm_bo_split_mapping() here.

We don't want any flags set in the cleared areas and splitting
shouldn't be necessary.

v2: fix typo in commit message

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