drm/amdgpu/sdma4: set wptr shadow atomically (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2017 19:28:14 +0000 (15:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:02 +0000 (14:46 -0400)
commit575a07d2dabca6d05c3b59262fe754f9a52b29a6
treebcd6563aaf255b97b5ee2949827328c332d9d60a
parent5c33f214db87b3095062a2c3e6e9f106c5ba2932
drm/amdgpu/sdma4: set wptr shadow atomically (v2)

No functional change until wptr polling uses this
location (future patch).

v2: use WRITE_ONCE

Cc: Frank Min <Frank.Min@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c