aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2016-10-13 14:39:46 +0500
committerAwais Belal <awais_belal@mentor.com>2016-10-14 15:22:00 +0500
commit912c1466ad973230fcdd08b07f766d291a6c13a4 (patch)
tree3e7a0bdfdf033d61c2212f66c19bf192d41e49b2 /common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch
parentb701f13977df4dd34e618e7d074220782b27dd34 (diff)
downloadmeta-amd-912c1466ad973230fcdd08b07f766d291a6c13a4.tar.gz
meta-amd-912c1466ad973230fcdd08b07f766d291a6c13a4.tar.bz2
meta-amd-912c1466ad973230fcdd08b07f766d291a6c13a4.zip
SE/BE: move to 4.4 kernel
This commit does a few things which cannot be separated easily so it cannot be split in to separate commits. * Drops all 4.1 kernel bits. * Moves all common patches from meta-amdfalconx86 to common. * Moves SE/BE builds to 4.4 kernel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
Diffstat (limited to 'common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch')
-rw-r--r--common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch b/common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch
new file mode 100644
index 00000000..05fd5535
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0059-drm-amdgpu-add-amdgpu.powerplay-module-option.patch
@@ -0,0 +1,33 @@
+From d6ab2efcf5034edeb6dff8bbf99ee174c3271152 Mon Sep 17 00:00:00 2001
+From: Jammy Zhou <Jammy.Zhou@amd.com>
+Date: Tue, 21 Jul 2015 14:01:50 +0800
+Subject: [PATCH 0059/1110] drm/amdgpu: add amdgpu.powerplay module option
+
+This option can be used to enable the new powerplay implementation,
+and it is disabled by default.
+
+Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+index a318356..8aedfa6 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+@@ -165,6 +165,11 @@ module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444);
+ MODULE_PARM_DESC(enable_semaphores, "Enable semaphores (1 = enable, 0 = disable (default))");
+ module_param_named(enable_semaphores, amdgpu_enable_semaphores, int, 0644);
+
++#ifdef CONFIG_DRM_AMD_POWERPLAY
++MODULE_PARM_DESC(powerplay, "Powerplay component (1 = enable, 0 = disable (default))");
++module_param_named(powerplay, amdgpu_powerplay, int, 0444);
++#endif
++
+ static struct pci_device_id pciidlist[] = {
+ #ifdef CONFIG_DRM_AMDGPU_CIK
+ /* Kaveri */
+--
+2.7.4
+