drm/amd/powerplay: add event task of disable dynamic state management
authorEric Huang <JinHuiEric.Huang@amd.com>
Tue, 31 May 2016 21:31:12 +0000 (17:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:35 +0000 (14:51 -0400)
commit80597521e61e2dc08586bccf8b6efec982530ade
tree3f63eab1a749a28a582b6d077f705b68c4cead46
parentcf17039f489d3d56a4791921c9ce9daa9ccc7073
drm/amd/powerplay: add event task of disable dynamic state management

Add an interface to disable dpm so that we can disable dpm before
updating pptables at runtime.

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/eventmgr/eventtasks.c
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h