drm/amd/pp: Save vf state in pp context
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 22 Mar 2018 07:46:47 +0000 (15:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:48 +0000 (13:07 -0500)
commit8bb575a2d83af097980641d864401b303286755c
tree74ee2811a82a5eae732072efbf432e12af3491da
parentb61e54cb1881c7cb74787da6a5d39d8d48dcc075
drm/amd/pp: Save vf state in pp context

Store vf state in pp_context so we can
deprecate the 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/inc/hwmgr.h
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c