drm/amd/pp: Add S3 support for OD feature
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 13 Jun 2018 10:26:38 +0000 (18:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 15:28:11 +0000 (10:28 -0500)
commitecfee95a8ae7f35d43b8f63d61220e70ec8d2ea8
tree420f4879663e806dd1cd4180d2b8147b5a8098b4
parentb1dc9d8755d9ee605990f32d82ca39b57c7cdcbb
drm/amd/pp: Add S3 support for OD feature

make custom values survive when S3 sleep transitions.
so not reset the od table if it is not null.

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/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c