aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>2018-02-06 20:32:42 -0500
committerOded Gabbay <oded.gabbay@gmail.com>2018-02-06 20:32:42 -0500
commit4252bf686622f6c71958c4fabbcb6a64deba1cf7 (patch)
tree3ba774e973f3d8fe22475280f33a1876d55ff290 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdkfd: Centralize IOMMUv2 code and make it conditional (diff)
downloadlinux-dev-4252bf686622f6c71958c4fabbcb6a64deba1cf7.tar.xz
linux-dev-4252bf686622f6c71958c4fabbcb6a64deba1cf7.zip
drm/amdkfd: Remove unaligned memory access
Unaligned atomic operations can cause problems on some CPU architectures. Use simpler bitmask operations instead. Atomic bit manipulations are not necessary since dqm->lock is held during these operations. Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions