drm/amdgpu: support sdma clock gating for more instances
authorLe Ma <le.ma@amd.com>
Wed, 7 Aug 2019 07:45:25 +0000 (15:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:48 +0000 (12:47 -0500)
commit78864760c2e3bc5f878bea1ec911cf8087729de6
treed7c8ab3a434bfa207cb97392ace4c1780d9e6b70
parent5d111f5b3a318bb98be640ad5e9198b6366fd6e9
drm/amdgpu: support sdma clock gating for more instances

Shorten the code with RREG32_SDMA/WREG32_SDMA macro in CG part.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c