drm/amdgpu: optimize amdgpu_vm_update_ptes a bit
authorChristian König <christian.koenig@amd.com>
Tue, 26 Jan 2016 11:37:49 +0000 (12:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:07 +0000 (14:17 -0500)
commit31f6c1fedb483232fc7b7b67b84e38ebde8c1448
tree8c09bac48d08312a7ccdaf08d4e0f6152f8d220c
parent8843dbbbf3460314dab3ef50e9a18c318f8fcdc1
drm/amdgpu: optimize amdgpu_vm_update_ptes a bit

Don't calculate the end address multiple times.

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