summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/rbtree.c
diff options
context:
space:
mode:
authorSourab Gupta <sourabg@nvidia.com>2018-05-04 10:25:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-18 02:34:52 -0400
commit9352136ad34a1c2a485bea0185d34689d0ae4525 (patch)
treec6381686806aafab1e6538b6ba4b10cb2993a37d /drivers/gpu/nvgpu/common/rbtree.c
parent4b2844260e6dbd6144b88f5b1cfee27b1809598b (diff)
gpu: nvgpu: remove usage of xchg in clk arb code
With the removal of rcu locks and using spinlocks in place, the usage of xchg for atomic pointer swap is unneccesary. A few places already have barriers in place before changing the pointer values, so a simple pointer assignment would do. Jira VQRM-3741 Change-Id: I03296202b273b5175f166ab3e094c0e4de910eb8 Signed-off-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1709655 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/rbtree.c')
0 files changed, 0 insertions, 0 deletions