]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - queue-4.4/thermal-int340x_thermal-add-additional-uuids.patch
fixes for 5.0
[thirdparty/kernel/stable-queue.git] / queue-4.4 / thermal-int340x_thermal-add-additional-uuids.patch
CommitLineData
38edc49d
SLM
1From 1e1bd1b713041b76141929d90a16053fd715d5ea Mon Sep 17 00:00:00 2001
2From: Matthew Garrett <matthewgarrett@google.com>
3Date: Wed, 10 Oct 2018 01:30:06 -0700
4Subject: thermal/int340x_thermal: Add additional UUIDs
5
6[ Upstream commit 16fc8eca1975358111dbd7ce65e4ce42d1a848fb ]
7
8Add more supported DPTF policies than the driver currently exposes.
9
10Signed-off-by: Matthew Garrett <mjg59@google.com>
11Cc: Nisha Aram <nisha.aram@intel.com>
12Signed-off-by: Zhang Rui <rui.zhang@intel.com>
13Signed-off-by: Sasha Levin <sashal@kernel.org>
14---
15 drivers/thermal/int340x_thermal/int3400_thermal.c | 14 ++++++++++++++
16 1 file changed, 14 insertions(+)
17
18diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c b/drivers/thermal/int340x_thermal/int3400_thermal.c
19index 5836e5554433..0beed2899163 100644
20--- a/drivers/thermal/int340x_thermal/int3400_thermal.c
21+++ b/drivers/thermal/int340x_thermal/int3400_thermal.c
22@@ -20,6 +20,13 @@ enum int3400_thermal_uuid {
23 INT3400_THERMAL_PASSIVE_1,
24 INT3400_THERMAL_ACTIVE,
25 INT3400_THERMAL_CRITICAL,
26+ INT3400_THERMAL_ADAPTIVE_PERFORMANCE,
27+ INT3400_THERMAL_EMERGENCY_CALL_MODE,
28+ INT3400_THERMAL_PASSIVE_2,
29+ INT3400_THERMAL_POWER_BOSS,
30+ INT3400_THERMAL_VIRTUAL_SENSOR,
31+ INT3400_THERMAL_COOLING_MODE,
32+ INT3400_THERMAL_HARDWARE_DUTY_CYCLING,
33 INT3400_THERMAL_MAXIMUM_UUID,
34 };
35
36@@ -27,6 +34,13 @@ static u8 *int3400_thermal_uuids[INT3400_THERMAL_MAXIMUM_UUID] = {
37 "42A441D6-AE6A-462b-A84B-4A8CE79027D3",
38 "3A95C389-E4B8-4629-A526-C52C88626BAE",
39 "97C68AE7-15FA-499c-B8C9-5DA81D606E0A",
40+ "63BE270F-1C11-48FD-A6F7-3AF253FF3E2D",
41+ "5349962F-71E6-431D-9AE8-0A635B710AEE",
42+ "9E04115A-AE87-4D1C-9500-0F3E340BFE75",
43+ "F5A35014-C209-46A4-993A-EB56DE7530A1",
44+ "6ED722A7-9240-48A5-B479-31EEF723D7CF",
45+ "16CAF1B7-DD38-40ED-B1C1-1B8A1913D531",
46+ "BE84BABF-C4D4-403D-B495-3128FD44dAC1",
47 };
48
49 struct int3400_thermal_priv {
50--
512.19.1
52