diff options
author | Ben_Pai <ben_pai@wistron.com> | 2019-09-27 05:08:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-10-09 17:35:14 +0300 |
commit | 45089668f64a209594882a306cb3401d7b0449d8 (patch) | |
tree | eb0f42e256d78bd802c23adf121fe50bc15404cc /meta-ibm/meta-witherspoon/recipes-phosphor/fans | |
parent | 3216ad4ee59bf0fb9090f6a26f037232580719c7 (diff) | |
download | openbmc-45089668f64a209594882a306cb3401d7b0449d8.tar.xz |
meta-ibm: Mihawk fan control support GPU thermal sensor
Mihawk can use GPU, so fan control must support GPU thermal sensor.
Tested: Fan speed is automatically controlled when using GPU
(From meta-ibm rev: 2ecdfbd9911c5df8909089d87774a768cfb06716)
Change-Id: I7a62dd349a72c1c3fb6dc314e7a011afb51e75b1
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/fans')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml index bce203777..ec63490f3 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/fans/phosphor-fan-control-events-config/mihawk/events.yaml @@ -134,6 +134,18 @@ groups: - /temperature/p1_vdn_temp - /temperature/p0_vdd_temp - /temperature/p1_vdd_temp + - name: zone0_gpu + description: Group of gpu temperature sensors for zone 0 + type: /xyz/openbmc_project/sensors + members: + - /temperature/gpu0 + - /temperature/gpu1 + - /temperature/gpu2 + - /temperature/gpu3 + - /temperature/gpu4 + - /temperature/gpu5 + - /temperature/gpu6 + - /temperature/gpu7 matches: - name: propertiesChanged parameters: @@ -473,6 +485,11 @@ events: property: name: Value type: int64_t + - name: zone0_gpu + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t triggers: - name: init method: getProperties @@ -663,3 +680,36 @@ events: delta: value: 3 type: uint64_t + # Speed changes based on gpu temps + - name: set_net_increase_speed + groups: + - name: zone0_gpu + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 70 + type: int64_t + factor: + value: 1 + type: int64_t + delta: + value: 13 + type: uint64_t + - name: set_net_decrease_speed + groups: + - name: zone0_gpu + interface: xyz.openbmc_project.Sensor.Value + property: + name: Value + type: int64_t + property: + value: 67 + type: int64_t + factor: + value: 4 + type: int64_t + delta: + value: 5 + type: uint64_t |