aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch
deleted file mode 100644
index 6ea09b9c..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0902-drm-amd-amdgpu-Cleanup-gmc_v9_0_suspend.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From cfdc42ef359d2d4fae2aee849052ee4f6cafabed Mon Sep 17 00:00:00 2001
-From: Tom St Denis <tom.stdenis@amd.com>
-Date: Fri, 1 Sep 2017 09:55:04 -0400
-Subject: [PATCH 0902/4131] drm/amd/amdgpu: Cleanup gmc_v9_0_suspend()
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Even though fini returns 0 always it could theoretically
-fail in the future. Might as well return it instead of 0.
-
-Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-index eafd0e7..6f03a9e 100644
---- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-@@ -807,9 +807,7 @@ static int gmc_v9_0_suspend(void *handle)
- {
- struct amdgpu_device *adev = (struct amdgpu_device *)handle;
-
-- gmc_v9_0_hw_fini(adev);
--
-- return 0;
-+ return gmc_v9_0_hw_fini(adev);
- }
-
- static int gmc_v9_0_resume(void *handle)
---
-2.7.4
-