aboutsummaryrefslogtreecommitdiff
path: root/hw/occ-sensor.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/occ-sensor.c')
-rw-r--r--hw/occ-sensor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/occ-sensor.c b/hw/occ-sensor.c
index 8605c40..6efaf90 100644
--- a/hw/occ-sensor.c
+++ b/hw/occ-sensor.c
@@ -500,8 +500,8 @@ bool occ_sensors_init(void)
int occ_num = 0, i;
bool has_gpu = false;
- /* OCC inband sensors is only supported in P9 */
- if (proc_gen != proc_gen_p9)
+ /* OCC inband sensors is only supported in P9/10 */
+ if (proc_gen < proc_gen_p9)
return false;
/* Sensors are copied to BAR2 OCC Common Area */