aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.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/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.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/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.patch')
-rw-r--r--common/recipes-kernel/linux/files/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.patch b/common/recipes-kernel/linux/files/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.patch
new file mode 100644
index 00000000..52897550
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0426-drm-amd-powerplay-Need-to-change-boot-to-performance.patch
@@ -0,0 +1,39 @@
+From 2b14c1b6d6bfc7ce9087050f0ffc7386d1825b5f Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Tue, 29 Mar 2016 18:45:59 +0800
+Subject: [PATCH 0426/1110] drm/amd/powerplay: Need to change boot to
+ performance state in resume.
+
+Fixes slow performance on resume.
+
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c b/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c
+index 6b52c78..56856a2 100644
+--- a/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c
++++ b/drivers/gpu/drm/amd/powerplay/eventmgr/eventactionchains.c
+@@ -137,14 +137,14 @@ static const pem_event_action *resume_event[] = {
+ reset_display_configCounter_tasks,
+ update_dal_configuration_tasks,
+ vari_bright_resume_tasks,
+- block_adjust_power_state_tasks,
+ setup_asic_tasks,
+ enable_stutter_mode_tasks, /*must do this in boot state and before SMC is started */
+ enable_dynamic_state_management_tasks,
+ enable_clock_power_gatings_tasks,
+ enable_disable_bapm_tasks,
+ initialize_thermal_controller_tasks,
+- reset_boot_state_tasks,
++ get_2d_performance_state_tasks,
++ set_performance_state_tasks,
+ adjust_power_state_tasks,
+ enable_disable_fps_tasks,
+ notify_hw_power_source_tasks,
+--
+2.7.4
+