aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch
new file mode 100644
index 00000000..f1620e69
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/1804-drm-amdgpu-powerplay-remove-unused-variable-in-smu10.patch
@@ -0,0 +1,28 @@
+From 224794a712c459486835693bbbd4e2eee3389d54 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue, 23 Apr 2019 10:39:57 -0500
+Subject: [PATCH 1804/2940] drm/amdgpu/powerplay: remove unused variable in
+ smu10_dpm_force_dpm_level
+
+Trivial.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
+index c2fa6bc3f3c3..3bca0e82c479 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c
+@@ -573,7 +573,6 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr,
+ enum amd_dpm_forced_level level)
+ {
+ struct smu10_hwmgr *data = hwmgr->backend;
+- struct amdgpu_device *adev = hwmgr->adev;
+ uint32_t min_sclk = hwmgr->display_config->min_core_set_clock;
+ uint32_t min_mclk = hwmgr->display_config->min_mem_set_clock/100;
+
+--
+2.17.1
+