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 20:17:11 +0000 (15:17 -0500)
commita0aaa03062be252aacad60a776f3374dd53e3f98
tree57b4b0805821a66650d4d965e6c2f4a9115fdf65
parent8014e2d3fd640c892ed334e7de7af918e141c8ff
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