]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitceb1e9860b818cd46f2d043dcfde35c94081fb92
tree8c09bac48d08312a7ccdaf08d4e0f6152f8d220c
parent1e91bed51ce14821ea02a4e9a2647569167acb08
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