summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-12-01 15:28:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-12 22:45:54 +0300
commite3a1b32a12ef83e260a307e678d053d5f4570acd (patch)
treeb1a1d6d9a715ac30a68a75cceb768896aec731e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parent2ffe31deb27579e2f2c9444e01f4d8abf385d145 (diff)
downloadlinux-e3a1b32a12ef83e260a307e678d053d5f4570acd.tar.xz
drm/amdgpu: avoid the modulo in amdgpu_vm_get_entry
We can do this with a simple mask as well. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions