forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform/x86: asus-wmi: expose dGPU and CPU tunables for ROG
Expose various CPU and dGPU tunables that are available on many ASUS ROG laptops. The tunables shown in sysfs will vary depending on the CPU and dGPU vendor. All of these variables are write only and there is no easy way to find what the defaults are. In general they seem to default to the max value the vendor sets for the CPU and dGPU package - this is not the same as the min/max writable value. Values written to these variables that are beyond the capabilities of the CPU are ignored by the laptop. Signed-off-by: Luke D. Jones <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
- Loading branch information
1 parent
abac425
commit e0b278e
Showing
3 changed files
with
354 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,3 +126,63 @@ Description: | |
Change the mini-LED mode: | ||
* 0 - Single-zone, | ||
* 1 - Multi-zone | ||
|
||
What: /sys/devices/platform/<platform>/ppt_pl1_spl | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the Package Power Target total of CPU: PL1 on Intel, SPL on AMD. | ||
Shown on Intel+Nvidia or AMD+Nvidia based systems: | ||
|
||
* min=5, max=250 | ||
|
||
What: /sys/devices/platform/<platform>/ppt_pl2_sppt | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the Slow Package Power Tracking Limit of CPU: PL2 on Intel, SPPT, | ||
on AMD. Shown on Intel+Nvidia or AMD+Nvidia based systems: | ||
|
||
* min=5, max=250 | ||
|
||
What: /sys/devices/platform/<platform>/ppt_fppt | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the Fast Package Power Tracking Limit of CPU. AMD+Nvidia only: | ||
* min=5, max=250 | ||
|
||
What: /sys/devices/platform/<platform>/ppt_apu_sppt | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the APU SPPT limit. Shown on full AMD systems only: | ||
* min=5, max=130 | ||
|
||
What: /sys/devices/platform/<platform>/ppt_platform_sppt | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the platform SPPT limit. Shown on full AMD systems only: | ||
* min=5, max=130 | ||
|
||
What: /sys/devices/platform/<platform>/nv_dynamic_boost | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the dynamic boost limit of the Nvidia dGPU: | ||
* min=5, max=25 | ||
|
||
What: /sys/devices/platform/<platform>/nv_temp_target | ||
Date: Jun 2023 | ||
KernelVersion: 6.5 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Set the target temperature limit of the Nvidia dGPU: | ||
* min=75, max=87 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.