aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch')
-rw-r--r--common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch b/common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch
deleted file mode 100644
index 6c2d37df..00000000
--- a/common/recipes-kernel/linux/files/0889-drm-amdgpu-fix-tonga-smu-resume.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 5a8b36e34830735d60dc38daca4cb415830325f1 Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Thu, 14 Jan 2016 13:48:24 -0500
-Subject: [PATCH 0889/1565] drm/amdgpu: fix tonga smu resume
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Need to make sure smu buffers are pinned on resume. This
-matches what Fiji does.
-
-Cc: stable@vger.kernel.org
-Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/tonga_dpm.c | 17 ++---------------
- 1 file changed, 2 insertions(+), 15 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_dpm.c b/drivers/gpu/drm/amd/amdgpu/tonga_dpm.c
-index f4a1346..0497784 100644
---- a/drivers/gpu/drm/amd/amdgpu/tonga_dpm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/tonga_dpm.c
-@@ -122,25 +122,12 @@ static int tonga_dpm_hw_fini(void *handle)
-
- static int tonga_dpm_suspend(void *handle)
- {
-- return 0;
-+ return tonga_dpm_hw_fini(handle);
- }
-
- static int tonga_dpm_resume(void *handle)
- {
-- int ret;
-- struct amdgpu_device *adev = (struct amdgpu_device *)handle;
--
-- mutex_lock(&adev->pm.mutex);
--
-- ret = tonga_smu_start(adev);
-- if (ret) {
-- DRM_ERROR("SMU start failed\n");
-- goto fail;
-- }
--
--fail:
-- mutex_unlock(&adev->pm.mutex);
-- return ret;
-+ return tonga_dpm_hw_init(handle);
- }
-
- static int tonga_dpm_set_clockgating_state(void *handle,
---
-1.9.1
-