aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch')
-rw-r--r--common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch b/common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch
deleted file mode 100644
index 3b456461..00000000
--- a/common/recipes-kernel/linux/files/0136-amd-powerplay-don-t-enable-ucode-fan-control-if-vbio.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 8c518450c658851d39ad5b24a4d4952b39825e9a Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Sat, 19 Dec 2015 18:26:55 -0500
-Subject: [PATCH 0136/1110] amd/powerplay: don't enable ucode fan control if
- vbios has no fan table
-
-Some systems have a single fan controlled by ACPI or some other
-method.
-
-Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c
-index 5da7586..2e159b0 100644
---- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c
-+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_thermal.c
-@@ -371,6 +371,9 @@ int tf_tonga_thermal_setup_fan_table(struct pp_hwmgr *hwmgr, void *input, void *
- int res;
- uint64_t tmp64;
-
-+ if (!phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl))
-+ return 0;
-+
- if (0 == data->fan_table_start) {
- phm_cap_unset(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_MicrocodeFanControl);
- return 0;
---
-2.7.4
-