aboutsummaryrefslogtreecommitdiffstats
path: root/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch')
-rw-r--r--meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch b/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch
deleted file mode 100644
index 0ed788e6..00000000
--- a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5520-drm-amdgpu-Always-enable-fan-sensors-for-read.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 5f926114b36c3955224cdd57da8125559f8d3d8a Mon Sep 17 00:00:00 2001
-From: Rex Zhu <Rex.Zhu@amd.com>
-Date: Sat, 6 Oct 2018 00:11:25 +0800
-Subject: [PATCH 5520/5725] drm/amdgpu: Always enable fan sensors for read
-
-don't need to set fan1_enable to read fan sensors.
-
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 10 ----------
- 1 file changed, 10 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-index 9a487d2..811e09f 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-@@ -1179,11 +1179,6 @@ static ssize_t amdgpu_hwmon_get_fan1_input(struct device *dev,
- struct amdgpu_device *adev = dev_get_drvdata(dev);
- int err;
- u32 speed = 0;
-- u32 pwm_mode;
--
-- pwm_mode = amdgpu_dpm_get_fan_control_mode(adev);
-- if (pwm_mode != AMD_FAN_CTRL_MANUAL)
-- return -ENODATA;
-
- /* Can't adjust fan when the card is off */
- if ((adev->flags & AMD_IS_PX) &&
-@@ -1246,11 +1241,6 @@ static ssize_t amdgpu_hwmon_get_fan1_target(struct device *dev,
- struct amdgpu_device *adev = dev_get_drvdata(dev);
- int err;
- u32 rpm = 0;
-- u32 pwm_mode;
--
-- pwm_mode = amdgpu_dpm_get_fan_control_mode(adev);
-- if (pwm_mode != AMD_FAN_CTRL_MANUAL)
-- return -ENODATA;
-
- /* Can't adjust fan when the card is off */
- if ((adev->flags & AMD_IS_PX) &&
---
-2.7.4
-