drm/amdgpu/sdma4: move wptr polling setup
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2017 19:43:59 +0000 (15:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:04 +0000 (14:46 -0400)
commit68c3c67fe6e527f121b13ad9b4e1714377b3d106
tree4d044e44e28ce35f6cdea1e03a61ca06419dea31
parent34c3a82b5aa7ddbc26f0d4d7ecec7720d73faed1
drm/amdgpu/sdma4: move wptr polling setup

Move it up before ring enablement with all of the other
engine setup and explicitly disable it for bare metal.

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