summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2015-10-16 15:32:36 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-12-22 00:42:25 +0300
commit2dfea9cd1ffe3aacbf52a913257ab3adedfe1ac1 (patch)
tree463b5a1b86fd37a3c74fefa1ab9caa4c90b10da5 /drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
parentfba4eef5847a1c9c8b49c039bc8aa6c9070d058e (diff)
downloadlinux-2dfea9cd1ffe3aacbf52a913257ab3adedfe1ac1.tar.xz
drm/amdgpu/powerplay: enable thermal interrupt task in eventmgr.
Add thermal handling to the event manager. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c b/drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
index e5dd86d23045..3dd671eb65eb 100644
--- a/drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
+++ b/drivers/gpu/drm/amd/powerplay/eventmgr/eventsubchains.c
@@ -393,3 +393,13 @@ const pem_event_action create_new_user_performance_state_tasks[] = {
pem_task_create_user_performance_state,
NULL
};
+
+const pem_event_action initialize_thermal_controller_tasks[] = {
+ pem_task_initialize_thermal_controller,
+ NULL
+};
+
+const pem_event_action uninitialize_thermal_controller_tasks[] = {
+ pem_task_uninitialize_thermal_controller,
+ NULL
+};