thermal-hal: Add severity aggregation logic for display sensors for neo vxr
Add severity aggregation logic for left and right display
sensors for aurora vxr.
Change-Id: I786a912c69803069985972a07d79cb2ca97b8a2b
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
diff --git a/thermalCommon.h b/thermalCommon.h
index ef96179..1d31ac5 100644
--- a/thermalCommon.h
+++ b/thermalCommon.h
@@ -70,6 +70,9 @@
std::vector<struct therm_sensor> sens;
std::vector<struct therm_cdev> cdev;
+ ThrottlingSeverity left_display_throttle_severity{ThrottlingSeverity::NONE};
+ ThrottlingSeverity right_display_throttle_severity{ThrottlingSeverity::NONE};
+
int initializeCpuSensor(struct target_therm_cfg& cpu_cfg);
int initialize_sensor(struct target_therm_cfg& cfg,
int sens_idx);