drm/amd/powerplay:Tonga not to start SMC if SRIOV
authorTrigger Huang <trigger.huang@amd.com>
Tue, 11 Oct 2016 05:21:11 +0000 (13:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Nov 2016 15:21:04 +0000 (10:21 -0500)
commit061995540d267787047f0968bfc5de7c8149b354
tree22af3156b7fec091579d17160ebe5ea5b86cf132
parentaa4747c00a2dd034c5fdf70ca73b1674ca15beb3
drm/amd/powerplay:Tonga not to start SMC if SRIOV

This patch is used for virtualization support. In virtualization case,
Tonga SMC should not be started and SMU firmware should not be loaded
if in SRIOV environment. The same operation will be applied on FIJI in
other patch.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Trigger Huang <trigger.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c