OSDN Git Service

drm/amdgpu: Correct sdma_v4 get_wptr(v2)
authorEmily Deng <Emily.Deng@amd.com>
Wed, 7 Feb 2018 08:17:16 +0000 (16:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 20:17:57 +0000 (15:17 -0500)
commit8d333fe0ad9dcb9651b9b450424a960bac040f96
tree9f9b43260ad9b37eac1601819adeffcc045ab5d4
parenta0aaa03062be252aacad60a776f3374dd53e3f98
drm/amdgpu: Correct sdma_v4 get_wptr(v2)

the original method will change the wptr value in wb.
v2:
furthur cleanup

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Monk Liu <Monk.Liu@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