aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch')
-rw-r--r--common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch b/common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch
deleted file mode 100644
index 059cf163..00000000
--- a/common/recipes-kernel/linux/files/0424-drm-amdgpu-check-dpm-state-before-pm-system-fs-initi.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 28e55a323213bd61af9d2852573aeb6dbd1b45d7 Mon Sep 17 00:00:00 2001
-From: Rex Zhu <Rex.Zhu@amd.com>
-Date: Tue, 29 Mar 2016 14:34:51 +0800
-Subject: [PATCH 0424/1110] drm/amdgpu: check dpm state before pm system fs
- initialized.
-
-Make sure powerplay initialized properly before enabling
-debugfs pm files.
-
-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/amdgpu/amdgpu_powerplay.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-index 9430a7d..e9c6ae6 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
-@@ -143,7 +143,7 @@ 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 && adev->pm.dpm_enabled) {
- amdgpu_pm_sysfs_init(adev);
- amdgpu_dpm_dispatch_task(adev, AMD_PP_EVENT_COMPLETE_INIT, NULL, NULL);
- }
---
-2.7.4
-