]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbad961415c5c00c99281e46fc3b76907228664bb
tree7b656715b3b972a2e15e14a395278c367e30191c
parent8137b89559d91515d4833db5606f85a797211fc9
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