aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch')
-rw-r--r--common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch b/common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch
new file mode 100644
index 00000000..792247df
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0334-drm-amdgpu-update-radeon-acpi-header.patch
@@ -0,0 +1,28 @@
+From 74957b0cee226a0abe3f4a9efe9a40d38b9d14b8 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 25 Feb 2016 01:47:53 -0500
+Subject: [PATCH 0334/1110] drm/amdgpu: update radeon acpi header
+
+Add some new defs for ATPX.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/include/amd_acpi.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/include/amd_acpi.h b/drivers/gpu/drm/amd/include/amd_acpi.h
+index 496360e..50e8933 100644
+--- a/drivers/gpu/drm/amd/include/amd_acpi.h
++++ b/drivers/gpu/drm/amd/include/amd_acpi.h
+@@ -340,6 +340,8 @@ struct atcs_pref_req_output {
+ # define ATPX_FIXED_NOT_SUPPORTED (1 << 9)
+ # define ATPX_DYNAMIC_DGPU_POWER_OFF_SUPPORTED (1 << 10)
+ # define ATPX_DGPU_REQ_POWER_FOR_DISPLAYS (1 << 11)
++# define ATPX_DGPU_CAN_DRIVE_DISPLAYS (1 << 12)
++# define ATPX_MS_HYBRID_GFX_SUPPORTED (1 << 14)
+ #define ATPX_FUNCTION_POWER_CONTROL 0x2
+ /* ARG0: ATPX_FUNCTION_POWER_CONTROL
+ * ARG1:
+--
+2.7.4
+