@@ -270,8 +270,8 @@ pub(crate) struct HwConfig {
270270 /// HwDataShared3.table.
271271 pub ( crate ) shared3_tab : & ' static [ u32 ] ,
272272
273- /// Globals.unk_hws2_0 .
274- pub ( crate ) unk_hws2_0 : u32 ,
273+ /// Globals.idle_off_standby_timer .
274+ pub ( crate ) idle_off_standby_timer_default : u32 ,
275275 /// Globals.unk_hws2_4.
276276 pub ( crate ) unk_hws2_4 : Option < [ F32 ; 8 ] > ,
277277 /// Globals.unk_hws2_24.
@@ -410,6 +410,8 @@ pub(crate) struct PwrConfig {
410410 pub ( crate ) fw_early_wake_timeout_ms : u32 ,
411411 /// Delay from the GPU becoming idle to powerdown
412412 pub ( crate ) idle_off_delay_ms : u32 ,
413+ /// Related to the above?
414+ pub ( crate ) idle_off_standby_timer : u32 ,
413415 /// Percent?
414416 pub ( crate ) perf_boost_ce_step : u32 ,
415417 /// Minimum utilization before performance state is increased in %.
@@ -604,6 +606,10 @@ impl PwrConfig {
604606 fender_idle_off_delay_ms : prop ! ( "apple,fender-idle-off-delay-ms" , 40 ) ,
605607 fw_early_wake_timeout_ms : prop ! ( "apple,fw-early-wake-timeout-ms" , 5 ) ,
606608 idle_off_delay_ms : prop ! ( "apple,idle-off-delay-ms" , 2 ) ,
609+ idle_off_standby_timer : prop ! (
610+ "apple,idleoff-standby-timer" ,
611+ cfg. idle_off_standby_timer_default
612+ ) ,
607613 perf_boost_ce_step : prop ! ( "apple,perf-boost-ce-step" , 25 ) ,
608614 perf_boost_min_util : prop ! ( "apple,perf-boost-min-util" , 100 ) ,
609615 perf_filter_drop_threshold : prop ! ( "apple,perf-filter-drop-threshold" ) ,
0 commit comments