aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch
deleted file mode 100644
index e258af27..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1043-drm-amd-powerplay-fixed-wrong-return-vaule-on-error.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From a2878c7ab8edb7b13c07b0a11c73110f3c6b0075 Mon Sep 17 00:00:00 2001
-From: Evan Quan <evan.quan@amd.com>
-Date: Tue, 26 Sep 2017 11:35:30 +0800
-Subject: [PATCH 1043/4131] drm/amd/powerplay: fixed wrong return vaule on
- error
-
-Change-Id: Ib7d42e49e4b1d1743125fd7f443cf60e486c3af3
-Signed-off-by: Evan Quan <evan.quan@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c
-index 0090ff1b..4c75908 100644
---- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c
-+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c
-@@ -1243,8 +1243,8 @@ int vega10_enable_didt_config(struct pp_hwmgr *hwmgr)
- }
-
- if (0 == result) {
-- PP_ASSERT_WITH_CODE((!vega10_enable_smc_features(hwmgr->smumgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap)),
-- "[EnableDiDtConfig] Attempt to Enable DiDt feature Failed!", return result);
-+ result = vega10_enable_smc_features(hwmgr->smumgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
-+ PP_ASSERT_WITH_CODE((0 == result), "[EnableDiDtConfig] Attempt to Enable DiDt feature Failed!", return result);
- data->smu_features[GNLD_DIDT].enabled = true;
- }
- }
-@@ -1290,8 +1290,8 @@ int vega10_disable_didt_config(struct pp_hwmgr *hwmgr)
- }
-
- if (0 == result) {
-- PP_ASSERT_WITH_CODE((0 != vega10_enable_smc_features(hwmgr->smumgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap)),
-- "[DisableDiDtConfig] Attempt to Disable DiDt feature Failed!", return result);
-+ result = vega10_enable_smc_features(hwmgr->smumgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
-+ PP_ASSERT_WITH_CODE((0 == result), "[DisableDiDtConfig] Attempt to Disable DiDt feature Failed!", return result);
- data->smu_features[GNLD_DIDT].enabled = false;
- }
- }
---
-2.7.4
-