diff options
author | Prike Liang <Prike.Liang@amd.com> | 2019-07-29 15:13:42 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-22 17:40:58 -0500 |
commit | 2f47d6492b4c9ff05fb0d4216b6c9b987839d771 (patch) | |
tree | 9a3fc0a9d9d9f9fc4d49365b1b32da17c5a46483 /drivers/gpu/drm/amd/amdgpu | |
parent | 8db63b7c38217df3dc5501ca0371a58bd912c9ea (diff) | |
download | linux-2f47d6492b4c9ff05fb0d4216b6c9b987839d771.tar.gz linux-2f47d6492b4c9ff05fb0d4216b6c9b987839d771.tar.bz2 linux-2f47d6492b4c9ff05fb0d4216b6c9b987839d771.zip |
drm/amdgpu/mmhub1: set mmhub clock gating for rn
setup mmhub clockgating.
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-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 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, |