From 8c0acc088b24c71a142be4bed988612108db15a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Wed, 12 Jul 2023 11:43:17 +0200 Subject: [PATCH 1/2] mb/clevo/{tgl-u,adl-p}: Update fan curves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Żygowski --- src/mainboard/clevo/adl-p/ramstage.c | 8 ++++---- src/mainboard/clevo/tgl-u/ramstage.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mainboard/clevo/adl-p/ramstage.c b/src/mainboard/clevo/adl-p/ramstage.c index 61f7949750e..b001ed83e0b 100644 --- a/src/mainboard/clevo/adl-p/ramstage.c +++ b/src/mainboard/clevo/adl-p/ramstage.c @@ -32,17 +32,17 @@ struct smfi_cmd_set_fan_curve { } __packed; struct fan_curve fan_curve_silent = { - { .temp = 0, .duty = 25 }, - { .temp = 65, .duty = 30 }, + { .temp = 0, .duty = 20 }, + { .temp = 65, .duty = 25 }, { .temp = 75, .duty = 35 }, - { .temp = 100, .duty = 100 } + { .temp = 85, .duty = 100 } }; struct fan_curve fan_curve_performance = { { .temp = 0, .duty = 25 }, { .temp = 55, .duty = 35 }, { .temp = 75, .duty = 60 }, - { .temp = 100, .duty = 100} + { .temp = 85, .duty = 100} }; #define FAN_CURVE_OPTION_SILENT 0 diff --git a/src/mainboard/clevo/tgl-u/ramstage.c b/src/mainboard/clevo/tgl-u/ramstage.c index 47b41f41df0..a8f4bb44a9b 100644 --- a/src/mainboard/clevo/tgl-u/ramstage.c +++ b/src/mainboard/clevo/tgl-u/ramstage.c @@ -33,17 +33,17 @@ struct smfi_cmd_set_fan_curve { } __packed; struct fan_curve fan_curve_silent = { - { .temp = 0, .duty = 25 }, - { .temp = 65, .duty = 30 }, + { .temp = 0, .duty = 20 }, + { .temp = 65, .duty = 25 }, { .temp = 75, .duty = 35 }, - { .temp = 100, .duty = 100 } + { .temp = 85, .duty = 100 } }; struct fan_curve fan_curve_performance = { { .temp = 0, .duty = 25 }, { .temp = 55, .duty = 35 }, { .temp = 75, .duty = 60 }, - { .temp = 100, .duty = 100} + { .temp = 85, .duty = 100} }; #define FAN_CURVE_OPTION_SILENT 0 From 7667605a795d0b182b5b903e0fea9cb07c747c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Wed, 12 Jul 2023 13:37:42 +0200 Subject: [PATCH 2/2] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michał Kopeć --- src/mainboard/clevo/adl-p/ramstage.c | 2 +- src/mainboard/clevo/tgl-u/ramstage.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/clevo/adl-p/ramstage.c b/src/mainboard/clevo/adl-p/ramstage.c index b001ed83e0b..8536fc64431 100644 --- a/src/mainboard/clevo/adl-p/ramstage.c +++ b/src/mainboard/clevo/adl-p/ramstage.c @@ -35,7 +35,7 @@ struct fan_curve fan_curve_silent = { { .temp = 0, .duty = 20 }, { .temp = 65, .duty = 25 }, { .temp = 75, .duty = 35 }, - { .temp = 85, .duty = 100 } + { .temp = 85, .duty = 100 } }; struct fan_curve fan_curve_performance = { diff --git a/src/mainboard/clevo/tgl-u/ramstage.c b/src/mainboard/clevo/tgl-u/ramstage.c index a8f4bb44a9b..31b63f5d10c 100644 --- a/src/mainboard/clevo/tgl-u/ramstage.c +++ b/src/mainboard/clevo/tgl-u/ramstage.c @@ -36,7 +36,7 @@ struct fan_curve fan_curve_silent = { { .temp = 0, .duty = 20 }, { .temp = 65, .duty = 25 }, { .temp = 75, .duty = 35 }, - { .temp = 85, .duty = 100 } + { .temp = 85, .duty = 100 } }; struct fan_curve fan_curve_performance = {