drm/amd/powerplay: disable cg pg task when pp uninitialize.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 29 Nov 2016 10:33:19 +0000 (18:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:32 +0000 (18:08 -0500)
commitf5f857f45d3371d032f016dd9f123a93bdf3eefc
tree7b656715b3b972a2e15e14a395278c367e30191c
parent8201a67a49a048953c8af60cc0d5ceb4a5db26f1
drm/amd/powerplay: disable cg pg task when pp uninitialize.

fix bug on uvd pg enabled, when reboot vm in pass through case,
we need to notify smu power up uvd/vce if they were power down.
otherwise, the vbios post will fail.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/eventmgr/eventtasks.c
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h