OSDN Git Service

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)
commitc6dddf45402caeadc49dc859fa497cfb98841af4
treedde5a0b1cdd97c9a84849ccae3615ea2e57df314
parent2a1e00c3c0d37f65241236d7731ef6bb92f0d07f
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