aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch')
-rw-r--r--common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch b/common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch
deleted file mode 100644
index 41ef0917..00000000
--- a/common/recipes-kernel/linux/files/0945-drm-amd-powerplay-send-event-to-notify-powerplay-all.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5978320791ee291d73835de220b675ae65b68913 Mon Sep 17 00:00:00 2001
-From: Rex Zhu <Rex.Zhu@amd.com>
-Date: Thu, 25 Feb 2016 17:32:45 +0800
-Subject: [PATCH 0945/1565] drm/amd/powerplay: send event to notify powerplay
- all modules are initialized.
-
-with this event, powerplay can adjust current power state if needed.
-
-Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-index b9d0d55..3cb6d6c 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-@@ -143,8 +143,10 @@ static int amdgpu_pp_late_init(void *handle)
- adev->powerplay.pp_handle);
-
- #ifdef CONFIG_DRM_AMD_POWERPLAY
-- if (adev->pp_enabled)
-+ if (adev->pp_enabled) {
- amdgpu_pm_sysfs_init(adev);
-+ amdgpu_dpm_dispatch_task(adev, AMD_PP_EVENT_COMPLETE_INIT, NULL, NULL);
-+ }
- #endif
- return ret;
- }
---
-1.9.1
-