drm/amd/powerplay: add deep sleep initialization
authorHuang Rui <ray.huang@amd.com>
Tue, 26 Jul 2016 07:57:07 +0000 (15:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:30 +0000 (11:32 -0400)
commite4e2c8f29a343953f0ff31bd2775b73cd8c07a4c
tree03657b2dbcce49e36256e899d39f6478b8fd1a54
parent9f7aab6fd396dcb7dacee152784ddf9c2f9b0e8b
drm/amd/powerplay: add deep sleep initialization

This patch adds the deep sleep initialization at DPM, it needs send a
message to SMC to enable this feature before enable voltage controller.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c