aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch')
-rw-r--r--common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch b/common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch
deleted file mode 100644
index 103b9d8b..00000000
--- a/common/recipes-kernel/linux/files/0450-drm-amdgpu-don-t-grab-dev-struct_mutex-in-pm-functio.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 5516ab86a873efc78fc356b0979294203f1cffb0 Mon Sep 17 00:00:00 2001
-From: Daniel Vetter <daniel.vetter@ffwll.ch>
-Date: Thu, 9 Jul 2015 23:32:50 +0200
-Subject: [PATCH 0450/1050] drm/amdgpu: don't grab dev->struct_mutex in pm
- functions
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Similar to radeon, except that amdgpu doesn't even use struct_mutex to
-protect anything like the shared z buffer (sane gpu architecture,
-yay!). And the code already grabs the globa adev->ring_lock, so this
-code can't race with itself. Which makes struct_mutex completely
-redundnant. Remove it.
-
-Cc: Alex Deucher <alexander.deucher@amd.com>
-Cc: "Christian König" <christian.koenig@amd.com>
-Reviewed-by: Thierry Reding <treding@nvidia.com>
-Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-index 25b329f..efed115 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-@@ -580,7 +580,6 @@ force:
- amdgpu_dpm_print_power_state(adev, adev->pm.dpm.requested_ps);
- }
-
-- mutex_lock(&adev->ddev->struct_mutex);
- mutex_lock(&adev->ring_lock);
-
- /* update whether vce is active */
-@@ -628,7 +627,6 @@ force:
-
- done:
- mutex_unlock(&adev->ring_lock);
-- mutex_unlock(&adev->ddev->struct_mutex);
- }
-
- void amdgpu_dpm_enable_uvd(struct amdgpu_device *adev, bool enable)
---
-1.9.1
-