aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch')
-rw-r--r--common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch72
1 files changed, 0 insertions, 72 deletions
diff --git a/common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch b/common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch
deleted file mode 100644
index 35cd1af1..00000000
--- a/common/recipes-kernel/linux/files/0171-drm-amdgpu-cz-force-uvd-clocks-when-sclks-are-forced.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 3620a28cbd3739c6445a4a76680620a1041fddd5 Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Fri, 18 Dec 2015 11:28:49 -0500
-Subject: [PATCH 0171/1110] drm/amdgpu/cz: force uvd clocks when sclks are
- forced
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Reviewed-by: Christian K├Ânig <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 24 ++++++++++++++++++++++++
- 1 file changed, 24 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
-index 02cba49..bdf5a22 100644
---- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
-+++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c
-@@ -1971,25 +1971,49 @@ static int cz_dpm_force_dpm_level(struct amdgpu_device *adev,
-
- switch (level) {
- case AMDGPU_DPM_FORCED_LEVEL_HIGH:
-+ /* sclk */
- ret = cz_dpm_unforce_dpm_levels(adev);
- if (ret)
- return ret;
- ret = cz_dpm_force_highest(adev);
- if (ret)
- return ret;
-+
-+ /* uvd */
-+ ret = cz_dpm_unforce_uvd_dpm_levels(adev);
-+ if (ret)
-+ return ret;
-+ ret = cz_dpm_uvd_force_highest(adev);
-+ if (ret)
-+ return ret;
- break;
- case AMDGPU_DPM_FORCED_LEVEL_LOW:
-+ /* sclk */
- ret = cz_dpm_unforce_dpm_levels(adev);
- if (ret)
- return ret;
- ret = cz_dpm_force_lowest(adev);
- if (ret)
- return ret;
-+
-+ /* uvd */
-+ ret = cz_dpm_unforce_uvd_dpm_levels(adev);
-+ if (ret)
-+ return ret;
-+ ret = cz_dpm_uvd_force_lowest(adev);
-+ if (ret)
-+ return ret;
- break;
- case AMDGPU_DPM_FORCED_LEVEL_AUTO:
-+ /* sclk */
- ret = cz_dpm_unforce_dpm_levels(adev);
- if (ret)
- return ret;
-+
-+ /* uvd */
-+ ret = cz_dpm_unforce_uvd_dpm_levels(adev);
-+ if (ret)
-+ return ret;
- break;
- default:
- break;
---
-2.7.4
-