drm/amdgpu/sdma4: use a helper for SDMA_OP_POLL_REGMEM
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Mar 2018 21:37:30 +0000 (16:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:53 +0000 (13:07 -0500)
commit2b816a1d773e755332733a89bdd276e08f935933
treeaaa52c68f81173ea90580d11112324461e5a7632
parent43fa561fd07fe707815d1b72472f6f5829223a52
drm/amdgpu/sdma4: use a helper for SDMA_OP_POLL_REGMEM

Rather than opencoding it in a bunch of functions.

Reviewed-by: Huang Rui <ray.huang@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