diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-09-01 16:39:10 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-21 15:36:47 -0400 |
commit | f8d27677e1015b47367c9f16155b770c34d2bcf4 (patch) | |
tree | 2ab3668f5645b75f2b61273a5ba85fbc3b075e5f | |
parent | 273a14cd1514345d66911de01d3bbe3c4c107e5c (diff) |
drm/amdgpu/mmhub: add clockgating support for vega12
Treat it the same as vega10 for now.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c index 3dd5816495a5..43f925773b57 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | |||
@@ -733,6 +733,7 @@ int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev, | |||
733 | 733 | ||
734 | switch (adev->asic_type) { | 734 | switch (adev->asic_type) { |
735 | case CHIP_VEGA10: | 735 | case CHIP_VEGA10: |
736 | case CHIP_VEGA12: | ||
736 | case CHIP_RAVEN: | 737 | case CHIP_RAVEN: |
737 | mmhub_v1_0_update_medium_grain_clock_gating(adev, | 738 | mmhub_v1_0_update_medium_grain_clock_gating(adev, |
738 | state == AMD_CG_STATE_GATE ? true : false); | 739 | state == AMD_CG_STATE_GATE ? true : false); |