From: Jack Xiao Date: Sat, 1 Jun 2019 02:35:12 +0000 (+0800) Subject: drm/amd/powerplay: enable BACO feature as WAR X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7c6fe84cf5f23c4d7913ff9d18aa09db449e0cb5;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: enable BACO feature as WAR It would hit SMU fw bug without BACO enablement when audio driver put audio device to D3 state. Before the bug in SMU fw get fixed, enable BACO feature as WAR. Signed-off-by: Jack Xiao Acked-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c index 425523381f62..b58ee09a5898 100644 --- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c +++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c @@ -331,6 +331,7 @@ navi10_get_allowed_feature_mask(struct smu_context *smu, | FEATURE_MASK(FEATURE_DS_GFXCLK_BIT) | FEATURE_MASK(FEATURE_DS_DCEFCLK_BIT) | FEATURE_MASK(FEATURE_FW_DSTATE_BIT) + | FEATURE_MASK(FEATURE_BACO_BIT) | FEATURE_MASK(FEATURE_ACDC_BIT); if (adev->pm.pp_feature & PP_MCLK_DPM_MASK)