aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch')
-rw-r--r--common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch b/common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch
deleted file mode 100644
index 28a4fd8f..00000000
--- a/common/recipes-kernel/linux/files/1039-drm-amdgpu-print-a-message-if-ATPX-dGPU-power-contro.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From b6a77ba390852ca3da5c1d76a8290d068d04349e Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Mon, 25 Apr 2016 13:14:47 -0400
-Subject: [PATCH 1039/1110] drm/amdgpu: print a message if ATPX dGPU power
- control is missing
-
-It will help identify problematic boards.
-
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
-index 3c89586..4e38622 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
-@@ -144,7 +144,10 @@ static int amdgpu_atpx_validate(struct amdgpu_atpx *atpx)
- {
- /* make sure required functions are enabled */
- /* dGPU power control is required */
-- atpx->functions.power_cntl = true;
-+ if (atpx->functions.power_cntl == false) {
-+ printk("ATPX dGPU power cntl not present, forcing\n");
-+ atpx->functions.power_cntl = true;
-+ }
-
- if (atpx->functions.px_params) {
- union acpi_object *info;
---
-2.7.4
-