aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
diff options
context:
space:
mode:
authorPrike Liang <[email protected]>2019-07-29 07:13:42 +0000
committerAlex Deucher <[email protected]>2019-08-22 22:40:58 +0000
commit2f47d6492b4c9ff05fb0d4216b6c9b987839d771 (patch)
tree9a3fc0a9d9d9f9fc4d49365b1b32da17c5a46483 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
parentdrm/amdgpu: enable DF clock gating for rn (diff)
downloadkernel-2f47d6492b4c9ff05fb0d4216b6c9b987839d771.tar.gz
kernel-2f47d6492b4c9ff05fb0d4216b6c9b987839d771.zip
drm/amdgpu/mmhub1: set mmhub clock gating for rn
setup mmhub clockgating. Signed-off-by: Prike Liang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c1
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 2bd7ada80088..04cd4b6f95d4 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c
@@ -521,6 +521,7 @@ int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev,
case CHIP_VEGA12:
case CHIP_VEGA20:
case CHIP_RAVEN:
+ case CHIP_RENOIR:
mmhub_v1_0_update_medium_grain_clock_gating(adev,
state == AMD_CG_STATE_GATE ? true : false);
mmhub_v1_0_update_medium_grain_light_sleep(adev,