drm/amd/powerplay: refine powerplay code for CZ/ST
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 4 Sep 2017 09:51:28 +0000 (17:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Sep 2017 03:30:32 +0000 (23:30 -0400)
commit06d31a69ca4a069d4ad79be570eb0ccbd8d65db5
tree58edce199baedaa8277d330902977ce5d991c6f5
parent1ab4720441ed6a918c06c4ddf882ef8bc50c8ef0
drm/amd/powerplay: refine powerplay code for CZ/ST

1. add function points instand of creat function tables
2. implement stop dpm tasks for CZ/ST

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c
drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c