aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch
new file mode 100644
index 00000000..aa8cec9a
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1044-drm-amd-powerplay-fix-typo-on-avfs-disable.patch
@@ -0,0 +1,28 @@
+From 334b8beadcfaf1e242e92bc6171ebdffb39f4123 Mon Sep 17 00:00:00 2001
+From: Evan Quan <evan.quan@amd.com>
+Date: Sat, 30 Sep 2017 09:13:47 +0800
+Subject: [PATCH 1044/4131] drm/amd/powerplay: fix typo on avfs disable
+
+Change-Id: I172c1e05ce026b5d600f5b3607778ab48ee2c812
+Signed-off-by: Evan Quan <evan.quan@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+index 62ba170..c12264c 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+@@ -2367,7 +2367,7 @@ static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable)
+ } else {
+ PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr->smumgr,
+ false,
+- data->smu_features[GNLD_AVFS].smu_feature_id),
++ data->smu_features[GNLD_AVFS].smu_feature_bitmap),
+ "[avfs_control] Attempt to Disable AVFS feature Failed!",
+ return -1);
+ data->smu_features[GNLD_AVFS].enabled = false;
+--
+2.7.4
+