@@ -273,8 +273,8 @@ pub(crate) struct HwConfig {
273273 /// HwDataShared3.table.
274274 pub ( crate ) shared3_tab : & ' static [ u32 ] ,
275275
276- /// Globals.unk_hws2_0 .
277- pub ( crate ) unk_hws2_0 : u32 ,
276+ /// Globals.idle_off_standby_timer .
277+ pub ( crate ) idle_off_standby_timer_default : u32 ,
278278 /// Globals.unk_hws2_4.
279279 pub ( crate ) unk_hws2_4 : Option < [ F32 ; 8 ] > ,
280280 /// Globals.unk_hws2_24.
@@ -413,6 +413,8 @@ pub(crate) struct PwrConfig {
413413 pub ( crate ) fw_early_wake_timeout_ms : u32 ,
414414 /// Delay from the GPU becoming idle to powerdown
415415 pub ( crate ) idle_off_delay_ms : u32 ,
416+ /// Related to the above?
417+ pub ( crate ) idle_off_standby_timer : u32 ,
416418 /// Percent?
417419 pub ( crate ) perf_boost_ce_step : u32 ,
418420 /// Minimum utilization before performance state is increased in %.
@@ -607,6 +609,10 @@ impl PwrConfig {
607609 fender_idle_off_delay_ms : prop ! ( "apple,fender-idle-off-delay-ms" , 40 ) ,
608610 fw_early_wake_timeout_ms : prop ! ( "apple,fw-early-wake-timeout-ms" , 5 ) ,
609611 idle_off_delay_ms : prop ! ( "apple,idle-off-delay-ms" , 2 ) ,
612+ idle_off_standby_timer : prop ! (
613+ "apple,idleoff-standby-timer" ,
614+ cfg. idle_off_standby_timer_default
615+ ) ,
610616 perf_boost_ce_step : prop ! ( "apple,perf-boost-ce-step" , 25 ) ,
611617 perf_boost_min_util : prop ! ( "apple,perf-boost-min-util" , 100 ) ,
612618 perf_filter_drop_threshold : prop ! ( "apple,perf-filter-drop-threshold" ) ,
0 commit comments