drm/amd/pp: Refine powerplay instance
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 27 Feb 2018 06:09:40 +0000 (14:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:38:20 +0000 (15:38 -0500)
commit65ad7cac3866f5fa80dcef3e5048a839046d6a46
tree1e5e50ed45d949c0d7dd2966bee06fdad681695d
parenta2c120ce6b686c753968b7b1293c7bb878440b7f
drm/amd/pp: Refine powerplay instance

Include adev in powerplay instance.
so can visit adev directly instand of through cgs interface.

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/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/pp_instance.h