diff options
author | Xiaojie Yuan <xiaojie.yuan@amd.com> | 2019-03-22 06:10:03 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-18 21:18:00 +0200 |
commit | 29e6fd7c86bf13840be40ca507eae25ab1a860d5 (patch) | |
tree | bf10ab4c4c0cb12a242900fdde58d7648195e68f /drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | |
parent | drm/amdgpu/mmhub2: set clock gating for navi14 (diff) | |
download | linux-29e6fd7c86bf13840be40ca507eae25ab1a860d5.tar.xz linux-29e6fd7c86bf13840be40ca507eae25ab1a860d5.zip |
drm/amdgpu/athub2: set clock gating for navi14
same as navi10.
Signed-off-by: Xiaojie Yuan <xiaojie.yuan@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/athub_v2_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c index 89b32b6b81c8..7e6c0bc3e8dd 100644 --- a/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c +++ b/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c @@ -74,6 +74,7 @@ int athub_v2_0_set_clockgating(struct amdgpu_device *adev, switch (adev->asic_type) { case CHIP_NAVI10: + case CHIP_NAVI14: athub_v2_0_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE ? true : false); athub_v2_0_update_medium_grain_light_sleep(adev, |