diff --git a/configs/ResourcesConfig.yaml b/configs/ResourcesConfig.yaml index 1f8baeb6b..a8f1767d5 100644 --- a/configs/ResourcesConfig.yaml +++ b/configs/ResourcesConfig.yaml @@ -27,6 +27,36 @@ ResourceConfigs: Policy: "pass_through" ApplyType: "core" + - ResType: "0x01" + ResID: "0x0002" + Name: "RES_CPU_IDLE_DISABLE_ST0" + Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state0/disable" + Supported: true + Permissions: "third_party" + Modes: ["display_on", "doze"] + Policy: "pass_through" + ApplyType: "core" + + - ResType: "0x01" + ResID: "0x0003" + Name: "RES_CPU_IDLE_DISABLE_ST1" + Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state1/disable" + Supported: true + Permissions: "third_party" + Modes: ["display_on", "doze"] + Policy: "pass_through" + ApplyType: "core" + + - ResType: "0x01" + ResID: "0x0004" + Name: "RES_CPU_IDLE_DISABLE_ST2" + Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state2/disable" + Supported: true + Permissions: "third_party" + Modes: ["display_on", "doze"] + Policy: "pass_through" + ApplyType: "core" + - ResType: "0x03" ResID: "0x0000" Name: "RES_SCHED_UTIL_CLAMP_MIN" @@ -71,6 +101,15 @@ ResourceConfigs: Policy: "pass_through" ApplyType: "global" + - ResType: "0x03" + ResID: "0x0004" + Name: "RES_PER_TASK_AFFINITY" + Supported: true + Permissions: "third_party" + Modes: ["display_on"] + Policy: "pass_through" + ApplyType: "global" + - ResType: "0x04" ResID: "0x0000" Unit: "Hz" @@ -103,36 +142,6 @@ ResourceConfigs: Policy: "lower_is_better" ApplyType: "cluster" - - ResType: "0x04" - ResID: "0x0003" - Name: "RES_CPU_IDLE_DISABLE_ST0" - Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state0/disable" - Supported: true - Permissions: "third_party" - Modes: ["display_on", "doze"] - Policy: "pass_through" - ApplyType: "core" - - - ResType: "0x04" - ResID: "0x0004" - Name: "RES_CPU_IDLE_DISABLE_ST1" - Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state1/disable" - Supported: true - Permissions: "third_party" - Modes: ["display_on", "doze"] - Policy: "pass_through" - ApplyType: "core" - - - ResType: "0x04" - ResID: "0x0005" - Name: "RES_CPU_IDLE_DISABLE_ST2" - Path: "/sys/devices/system/cpu/cpu%d/cpuidle/state2/disable" - Supported: true - Permissions: "third_party" - Modes: ["display_on", "doze"] - Policy: "pass_through" - ApplyType: "core" - - ResType: "0x05" ResID: "0x0000" Name: "RES_DEVFREQ_GPU_MAX" @@ -398,12 +407,3 @@ ResourceConfigs: Modes: ["display_on"] Policy: "pass_through" ApplyType: "global" - - - ResType: "0x0c" - ResID: "0x0000" - Name: "RES_PER_TASK_AFFINITY" - Supported: true - Permissions: "third_party" - Modes: ["display_on"] - Policy: "pass_through" - ApplyType: "global"