aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorVineet Gupta <[email protected]>2015-10-08 16:47:48 +0000
committerVineet Gupta <[email protected]>2017-11-21 23:20:55 +0000
commit5b9027d6d044d4917992119d184ab0bb616489cc (patch)
tree80b05c4295140b9d1828c1fb0475c3d5bd04f214 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentARCv2: perf: tweak overflow interrupt (diff)
downloadkernel-5b9027d6d044d4917992119d184ab0bb616489cc.tar.gz
kernel-5b9027d6d044d4917992119d184ab0bb616489cc.zip
ARCv2: perf: optimize given that num counters <= 32
use ffz primitive which maps to ARCv2 instruction, vs. non atomic __test_and_set_bit It is unlikely if we will even have more than 32 counters, but still add a BUILD_BUG to catch that Acked-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions