drm/amd/powerplay: add disable dpm tasks for Tonga
authorEric Huang <JinHuiEric.Huang@amd.com>
Mon, 6 Jun 2016 19:36:42 +0000 (15:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:36 +0000 (14:51 -0400)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c

index 231c92b..0a76c82 100644 (file)
@@ -6263,6 +6263,7 @@ static const struct pp_hwmgr_func tonga_hwmgr_funcs = {
        .backend_fini = &tonga_hwmgr_backend_fini,
        .asic_setup = &tonga_setup_asic_task,
        .dynamic_state_management_enable = &tonga_enable_dpm_tasks,
+       .dynamic_state_management_disable = &tonga_disable_dpm_tasks,
        .apply_state_adjust_rules = tonga_apply_state_adjust_rules,
        .force_dpm_level = &tonga_force_dpm_level,
        .power_state_set = tonga_set_power_state_tasks,