]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: replace readq/writeq with atomic64 operations
authorTao Zhou <tao.zhou1@amd.com>
Wed, 7 Aug 2019 02:28:54 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Aug 2019 16:14:11 +0000 (11:14 -0500)
commitb57ed835ad8e0eb40b543f3f2ff8c95b248665e0
treedde5a0b1cdd97c9a84849ccae3615ea2e57df314
parenta24b1d3634913422d0962ced113a680037580696
drm/amdgpu: replace readq/writeq with atomic64 operations

what we really want is a read or write that is guaranteed to be 64 bits
at a time, atomic64 operations are supported on all architectures

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c