aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorStephen Hemminger <[email protected]>2017-02-12 06:02:25 +0000
committerGreg Kroah-Hartman <[email protected]>2017-02-14 18:20:35 +0000
commit8d12f88257cd9039d9556585475deb46db055050 (patch)
tree6e4b09719c1c7f88285fdd80ed5ea342253bf4de /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentvmbus: constify parameters where possible (diff)
downloadkernel-8d12f88257cd9039d9556585475deb46db055050.tar.gz
kernel-8d12f88257cd9039d9556585475deb46db055050.zip
vmbus: replace modulus operation with subtraction
Takes less clock cycles to check for ring wrap and subtract than to do a modulus instruction. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions