diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0205-drm-amdgpu-fix-locking-in-force-performance-level.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0205-drm-amdgpu-fix-locking-in-force-performance-level.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/common/recipes-kernel/linux/files/0205-drm-amdgpu-fix-locking-in-force-performance-level.patch b/common/recipes-kernel/linux/files/0205-drm-amdgpu-fix-locking-in-force-performance-level.patch deleted file mode 100644 index 3f444274..00000000 --- a/common/recipes-kernel/linux/files/0205-drm-amdgpu-fix-locking-in-force-performance-level.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 0388fd19426625532fed528f5702938345c2004a Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Fri, 19 Feb 2016 15:18:45 -0500 -Subject: [PATCH 0205/1110] drm/amdgpu: fix locking in force performance level -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Looks like a copy paste typo when we added powerplay -support. - -Reviewed-by: Christian König <christian.koenig@amd.com> -Acked-by: Harry Wentland <harry.wentland@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -index 8edcdd7..e9ad9a5 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c -@@ -157,6 +157,7 @@ static ssize_t amdgpu_set_dpm_forced_performance_level(struct device *dev, - mutex_lock(&adev->pm.mutex); - if (adev->pm.dpm.thermal_active) { - count = -EINVAL; -+ mutex_unlock(&adev->pm.mutex); - goto fail; - } - ret = amdgpu_dpm_force_performance_level(adev, level); -@@ -167,8 +168,6 @@ static ssize_t amdgpu_set_dpm_forced_performance_level(struct device *dev, - mutex_unlock(&adev->pm.mutex); - } - fail: -- mutex_unlock(&adev->pm.mutex); -- - return count; - } - --- -2.7.4 - |