FAILED: patch "[PATCH] drm/amd/powerplay: fix power over limit on Fiji" failed to apply to 4.16-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.16-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
a0a73b950d0b2618690488ad067f96ab703e05c2Mon Sep 17 00:00:00 2001
From: Eric Huang <[email protected]>
Date: Mon, 26 Feb 2018 17:36:19 -0500
Subject: [PATCH] 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 <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +0 -7
@@ -4630,13 +4630,6 @@ static int smu7_set_power_profile_state(struct pp_hwmgr *hwmgr,int tmp_result, result =0 ;uint32_t sclk_mask =0 , mclk_mask =0 ; -if (hwmgr->chip_id ==CHIP_FIJI ) { -if (request->type ==AMD_PP_GFX_PROFILE ) -smu7_enable_power_containment (hwmgr); -else if (request->type ==AMD_PP_COMPUTE_PROFILE ) -smu7_disable_power_containment (hwmgr); - } -if (hwmgr->dpm_level !=AMD_DPM_FORCED_LEVEL_AUTO )return -EINVAL ;