]> 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)
commit3ccf04492ee27c74830e38a2be7f3e326aa49fcc
tree5d9016d01fdd814bae8cd16d48f6d0fed2cfc74b
parent46ff9959aa40ed71ce74eced25d488b48811d489
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