From 5596a351e63342d9dd6dd8dba5c64fbfa734fb2f Mon Sep 17 00:00:00 2001 From: Sukumar Ghorai Date: Wed, 4 Oct 2023 23:49:46 -0700 Subject: [PATCH] mb/intel/mtlrvp: Disable package C-state auto demotion Package C-state auto demotion feature allows hardware to determine lower C-state as per platform policy. Since platform sets performance policy to balanced from hardware, auto demotion can be disabled without performance impact. Also, disabling this feature results soc to enter below PC8 state and additional power savings ~30mW in Local-Video-Playback scenario. Change-Id: I6ff408280178a24686180f72f79522d2741607a1 Signed-off-by: Sukumar Ghorai Reviewed-on: https://review.coreboot.org/c/coreboot/+/78278 Reviewed-by: Kapil Porwal Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- .../intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb index 17a92a8ef5..a0f27f004e 100644 --- a/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb +++ b/src/mainboard/intel/mtlrvp/variants/baseboard/mtlrvp_p/devicetree.cb @@ -55,6 +55,9 @@ chip soc/intel/meteorlake # Disable C1 C-state auto-demotion register "disable_c1_state_auto_demotion" = "1" + # Disable PKGC-state demotion + register "disable_package_c_state_demotion" = "1" + # Enable energy reporting register "pch_pm_energy_report_enable" = "1"