drm/amdgpu: use amdgpu_gem_va_check() in amdgpu_gem_va_update_vm()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 9 Feb 2017 22:28:24 +0000 (23:28 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Feb 2017 17:07:33 +0000 (12:07 -0500)
commita73effaf583f3e246b3e784b16443154a6105080
tree5861863a7916c67256e350a685209947ba35742d
parent4ce3bd45b351633f2a0512c587f7fcba2ce044e8
drm/amdgpu: use amdgpu_gem_va_check() in amdgpu_gem_va_update_vm()

This removes code duplication.

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c