drm/amd/powerplay: fix power over limit on Fiji
authorEric Huang <JinHuiEric.Huang@amd.com>
Mon, 26 Feb 2018 22:36:19 +0000 (17:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:06 +0000 (14:18 -0500)
commita0a73b950d0b2618690488ad067f96ab703e05c2
treed349b78f79796e6512ddb992ba98fd0e329f21ac
parent60b431b5c165514729ad0a47e18b0f99783dfc38
drm/amd/powerplay: fix power over limit on Fiji

power containment disabled only on Fiji and compute
power profile. It violates PCIe spec and may cause power
supply failed. Enabling it will fix the issue, even the
fix will drop performance of some compute tests.

Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c