]> git.baikalelectronics.ru Git - kernel.git/commit
drm/powerplay: enable dpm under pass-through
authorYintian Tao <yttao@amd.com>
Mon, 20 Aug 2018 03:11:48 +0000 (11:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Aug 2018 19:18:21 +0000 (14:18 -0500)
commit68f7c2d898ec70b9d350ca5dece6deab25fea21c
tree5d9016d01fdd814bae8cd16d48f6d0fed2cfc74b
parenta6f9975742f5453f675dbf88a3f4f2e08777d590
drm/powerplay: enable dpm under pass-through

Repeat enable dpm under pass-through because there is no actually
hardware-fini and real power-off when guest vm shutdown or reboot.
Otherwise, under pass-through it will be failed to populate populate
and upload SCLK MCLK DPM levels due to zero of pcie_speed_table.count.

Signed-off-by: Yintian Tao <yttao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c