OpenCloudOS-Kernel/drivers/gpu/drm/amd/powerplay/eventmgr
Rex Zhu 1c86380248 drm/amd/powerplay: refine powerplay interface.
v2: add pp_check function to check pp_instance
   valid.

1. powerplay export two new interface to amdgpu,
   amd_powerplay_create/amd_powerplay_destroy.
2. create pp_instance/smumgr/hwmgr/eventmgr in
   early init, destroy them when lata_fini.
3. in sw_init, create and init asic private smumgr
   data, and free them when sw_fini.
4. in hw_init, create and init asic private hwmgr
   data, and free them when hw_fini.
5. export powerplay state: PP_DPM_DISABLED.
   when user disabled powerplay or hwmgr/eventmgr
   init failed, powerplay return this state to amdgpu.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-01-27 11:12:58 -05:00
..
Makefile
eventactionchains.c drm/amd/powerplay: fix bug stop dpm can't work on Vi. 2016-10-14 12:10:00 -04:00
eventactionchains.h
eventinit.c drm/amd/powerplay: update all printk to pr_* on eventmgr 2017-01-27 11:12:50 -05:00
eventinit.h
eventmanagement.c drm/amd/powerplay: Mark pem_event_action chains as const 2016-05-04 20:20:13 -04:00
eventmanagement.h
eventmgr.c drm/amd/powerplay: refine powerplay interface. 2017-01-27 11:12:58 -05:00
eventsubchains.c drm/amd/powerplay: enable set_cpu_power_state task. (v2) 2015-12-21 16:42:41 -05:00
eventsubchains.h drm/amd/powerplay: enable set_cpu_power_state task. (v2) 2015-12-21 16:42:41 -05:00
eventtasks.c drm/amd/powerplay: fix bug dpm level unexpectly be reset to auto. 2017-01-27 11:12:53 -05:00
eventtasks.h drm/amdgpu/powerplay: enable thermal interrupt task in eventmgr. 2015-12-21 16:42:25 -05:00
psm.c drm/amd/powerplay: fix mclk not switching back after multi-head was disabled 2016-09-19 13:22:08 -04:00
psm.h drm/amd/powerplay: enable set boot state task 2016-01-08 15:39:26 -05:00