drm/powerplay: add missing clockgating callback for tonga
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2016 21:19:41 +0000 (17:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:30:38 +0000 (20:30 -0400)
Without this clockgating is not enabled.

Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c

index 9aaf194fc7cd883d19658879ec103bba1919dbf9..670b6288933f4d325e0feff77007e0189ab21a84 100644 (file)
@@ -6214,6 +6214,7 @@ static const struct pp_hwmgr_func tonga_hwmgr_funcs = {
        .powergate_uvd = tonga_phm_powergate_uvd,
        .powergate_vce = tonga_phm_powergate_vce,
        .disable_clock_power_gating = tonga_phm_disable_clock_power_gating,
+       .update_clock_gatings = tonga_phm_update_clock_gatings,
        .notify_smc_display_config_after_ps_adjustment = tonga_notify_smc_display_config_after_ps_adjustment,
        .display_config_changed = tonga_display_configuration_changed_task,
        .set_max_fan_pwm_output = tonga_set_max_fan_pwm_output,