diff options
Diffstat (limited to 'meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5023-drm-amdgpu-fix-a-reversed-condition.patch')
-rw-r--r-- | meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5023-drm-amdgpu-fix-a-reversed-condition.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5023-drm-amdgpu-fix-a-reversed-condition.patch b/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5023-drm-amdgpu-fix-a-reversed-condition.patch deleted file mode 100644 index 42a99523..00000000 --- a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/5023-drm-amdgpu-fix-a-reversed-condition.patch +++ /dev/null @@ -1,33 +0,0 @@ -From fd4c73f45bfb51dd32b3b4698cb4f28f4c77472c Mon Sep 17 00:00:00 2001 -From: Rex Zhu <rex.zhu@amd.com> -Date: Wed, 25 Jul 2018 11:51:46 +0800 -Subject: [PATCH 5023/5725] drm/amdgpu: fix a reversed condition - -This test was reversed so it would end up leading to vddnb value -can't be read via hwmon on APU. - -Reviewed-by: Evan Quan <evan.quan@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> -Cc: stable@vger.kernel.org ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -index a3ab2a2..14bb1b3 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -@@ -1185,7 +1185,7 @@ static ssize_t amdgpu_hwmon_show_vddnb(struct device *dev, - int r, size = sizeof(vddnb); - - /* only APUs have vddnb */ -- if (adev->flags & AMD_IS_APU) -+ if (!(adev->flags & AMD_IS_APU)) - return -EINVAL; - - /* Can't get voltage when the card is off */ --- -2.7.4 - |