aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch
new file mode 100644
index 00000000..d8281029
--- /dev/null
+++ b/meta-amdfalconx86/recipes-kernel/linux/linux-yocto/0365-drm-amdgpu-add-some-pptable-definitions.patch
@@ -0,0 +1,38 @@
+From fa9f1d4e86f67a4df03e153d9b9cd1bd1838767c Mon Sep 17 00:00:00 2001
+From: Jammy Zhou <Jammy.Zhou@amd.com>
+Date: Tue, 21 Jul 2015 21:17:16 +0800
+Subject: [PATCH 0365/1050] drm/amdgpu: add some pptable definitions
+
+Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/include/pptable.h | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/include/pptable.h b/drivers/gpu/drm/amd/include/pptable.h
+index 0030f72..ee6978b 100644
+--- a/drivers/gpu/drm/amd/include/pptable.h
++++ b/drivers/gpu/drm/amd/include/pptable.h
+@@ -146,6 +146,9 @@ typedef struct _ATOM_PPLIB_EXTENDEDHEADER
+ #define ATOM_PP_PLATFORM_CAP_VRHOT_GPIO_CONFIGURABLE 0x00200000 // Does the driver supports VR HOT GPIO Configurable.
+ #define ATOM_PP_PLATFORM_CAP_TEMP_INVERSION 0x00400000 // Does the driver supports Temp Inversion feature.
+ #define ATOM_PP_PLATFORM_CAP_EVV 0x00800000
++#define ATOM_PP_PLATFORM_COMBINE_PCC_WITH_THERMAL_SIGNAL 0x01000000
++#define ATOM_PP_PLATFORM_LOAD_POST_PRODUCTION_FIRMWARE 0x02000000
++#define ATOM_PP_PLATFORM_CAP_DISABLE_USING_ACTUAL_TEMPERATURE_FOR_POWER_CALC 0x04000000
+
+ typedef struct _ATOM_PPLIB_POWERPLAYTABLE
+ {
+@@ -673,7 +676,8 @@ typedef struct _ATOM_PPLIB_POWERTUNE_Table_V1
+ UCHAR revid;
+ ATOM_PowerTune_Table power_tune_table;
+ USHORT usMaximumPowerDeliveryLimit;
+- USHORT usReserve[7];
++ USHORT usTjMax;
++ USHORT usReserve[6];
+ } ATOM_PPLIB_POWERTUNE_Table_V1;
+
+ #define ATOM_PPM_A_A 1
+--
+1.9.1
+