summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
diff options
context:
space:
mode:
authorLe Ma <le.ma@amd.com>2019-08-09 13:58:42 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 20:47:49 +0300
commita840159c82c7e7fa954f5b9e4ac7721d7e094513 (patch)
treeba843ac03646012ddca2856140880f751e44a06e /drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
parentcb15e8046d0df90deeec9ed79dc432043f11d07b (diff)
downloadlinux-a840159c82c7e7fa954f5b9e4ac7721d7e094513.tar.xz
drm/amdgpu: enable mmhub clock gating for Arcturus
Init MC_MGCG/LS flag. Also apply to athub CG. Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
index e52e4d1860f5..0cf7ef44b4b5 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
@@ -615,7 +615,6 @@ int mmhub_v9_4_set_clockgating(struct amdgpu_device *adev,
return 0;
}
-/* TODO: get 2 mmhub instances CG state */
void mmhub_v9_4_get_clockgating(struct amdgpu_device *adev, u32 *flags)
{
int data, data1;