mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu/mmhub2: 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>
This commit is contained in:
parent
8687b47e3a
commit
408c49de9b
|
@ -406,6 +406,7 @@ int mmhub_v2_0_set_clockgating(struct amdgpu_device *adev,
|
||||||
|
|
||||||
switch (adev->asic_type) {
|
switch (adev->asic_type) {
|
||||||
case CHIP_NAVI10:
|
case CHIP_NAVI10:
|
||||||
|
case CHIP_NAVI14:
|
||||||
mmhub_v2_0_update_medium_grain_clock_gating(adev,
|
mmhub_v2_0_update_medium_grain_clock_gating(adev,
|
||||||
state == AMD_CG_STATE_GATE ? true : false);
|
state == AMD_CG_STATE_GATE ? true : false);
|
||||||
mmhub_v2_0_update_medium_grain_light_sleep(adev,
|
mmhub_v2_0_update_medium_grain_light_sleep(adev,
|
||||||
|
|
Loading…
Reference in New Issue