forked from Rust-for-Linux/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.
Merge tag 'platform-drivers-x86-v6.1-1' of git://git.kernel.org/pub/s…
…cm/linux/kernel/git/pdx86/platform-drivers-x86 Pull x86 platform driver updates from Hans de Goede: - AMD Platform Management Framework (PMF) driver with AMT and QnQF support - AMD PMC: Improved logging for debugging s2idle issues - Big refactor of the ACPI/x86 backlight handling, ensuring that we only register 1 /sys/class/backlight device per LCD panel - Microsoft Surface: - Surface Laptop Go 2 support - Surface Pro 8 HID sensor support - Asus WMI: - Lots of cleanups - Support for TUF RGB keyboard backlight control - Add support for ROG X13 tablet mode - Siemens Simatic: IPC227G and IPC427G support - Toshiba ACPI laptop driver: Fan hwmon and battery ECO mode support - tools/power/x86/intel-speed-select: Various improvements - Various cleanups - Various small bugfixes * tag 'platform-drivers-x86-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (153 commits) platform/x86: use PLATFORM_DEVID_NONE instead of -1 platform/x86/amd: pmc: Dump idle mask during "check" stage instead platform/x86/intel/wmi: thunderbolt: Use dev_groups callback platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks platform/surface: Split memcpy() of struct ssam_event flexible array platform/x86: compal-laptop: Get rid of a few forward declarations platform/x86: intel-uncore-freq: Use sysfs_emit() to instead of scnprintf() platform/x86: dell-smbios-base: Use sysfs_emit() platform/x86/amd/pmf: Remove unused power_delta instances platform/x86/amd/pmf: install notify handler after acpi init Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF platform/x86/amd/pmf: Add sysfs to toggle CnQF platform/x86/amd/pmf: Add support for CnQF platform/x86/amd: pmc: Fix build without debugfs platform/x86: hp-wmi: Support touchpad on/off platform/x86: int3472/discrete: Drop a forward declaration platform/x86: toshiba_acpi: change turn_on_panel_on_resume to static platform/x86: wmi: Drop forward declaration of static functions platform/x86: toshiba_acpi: Remove duplicate include platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading ...
- Loading branch information
Showing
102 changed files
with
4,547 additions
and
1,818 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
What: /sys/bus/platform/drivers/amd_pmc/*/smu_fw_version | ||
Date: October 2022 | ||
Contact: Mario Limonciello <[email protected]> | ||
Description: Reading this file reports the version of the firmware loaded to | ||
System Management Unit (SMU) contained in AMD CPUs and | ||
APUs. | ||
|
||
What: /sys/bus/platform/drivers/amd_pmc/*/smu_program | ||
Date: October 2022 | ||
Contact: Mario Limonciello <[email protected]> | ||
Description: Reading this file reports the program corresponding to the SMU | ||
firmware version. The program field is used to disambiguate two | ||
APU/CPU models that can share the same firmware binary. |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
What: /sys/devices/platform/*/cnqf_enable | ||
Date: September 2022 | ||
Contact: Shyam Sundar S K <[email protected]> | ||
Description: Reading this file tells if the AMD Platform Management(PMF) | ||
Cool n Quiet Framework(CnQF) feature is enabled or not. | ||
|
||
This feature is not enabled by default and gets only turned on | ||
if OEM BIOS passes a "flag" to PMF ACPI function (index 11 or 12) | ||
or in case the user writes "on". | ||
|
||
To turn off CnQF user can write "off" to the sysfs node. | ||
Note: Systems that support auto mode will not have this sysfs file | ||
available. |
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 |
---|---|---|
|
@@ -364,7 +364,10 @@ Date: April 2019 | |
Contact: [email protected] | ||
Description: | ||
Represents a battery percentage level, above which charging will | ||
stop. | ||
stop. Not all hardware is capable of setting this to an arbitrary | ||
percentage. Drivers will round written values to the nearest | ||
supported value. Reading back the value will show the actual | ||
threshold set by the driver. | ||
|
||
Access: Read, Write | ||
|
||
|
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 |
---|---|---|
|
@@ -57,3 +57,44 @@ Description: | |
* 0 - default, | ||
* 1 - overboost, | ||
* 2 - silent | ||
|
||
What: /sys/devices/platform/<platform>/gpu_mux_mode | ||
Date: Aug 2022 | ||
KernelVersion: 6.1 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Switch the GPU hardware MUX mode. Laptops with this feature can | ||
can be toggled to boot with only the dGPU (discrete mode) or in | ||
standard Optimus/Hybrid mode. On switch a reboot is required: | ||
|
||
* 0 - Discrete GPU, | ||
* 1 - Optimus/Hybrid, | ||
|
||
What: /sys/devices/platform/<platform>/dgpu_disable | ||
Date: Aug 2022 | ||
KernelVersion: 5.17 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Disable discrete GPU: | ||
* 0 - Enable dGPU, | ||
* 1 - Disable dGPU | ||
|
||
What: /sys/devices/platform/<platform>/egpu_enable | ||
Date: Aug 2022 | ||
KernelVersion: 5.17 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Enable the external GPU paired with ROG X-Flow laptops. | ||
Toggling this setting will also trigger ACPI to disable the dGPU: | ||
|
||
* 0 - Disable, | ||
* 1 - Enable | ||
|
||
What: /sys/devices/platform/<platform>/panel_od | ||
Date: Aug 2022 | ||
KernelVersion: 5.17 | ||
Contact: "Luke Jones" <[email protected]> | ||
Description: | ||
Enable an LCD response-time boost to reduce or remove ghosting: | ||
* 0 - Disable, | ||
* 1 - Enable |
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
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 |
---|---|---|
|
@@ -1027,6 +1027,13 @@ L: [email protected] | |
S: Maintained | ||
F: drivers/platform/x86/amd/pmc.c | ||
|
||
AMD PMF DRIVER | ||
M: Shyam Sundar S K <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/ABI/testing/sysfs-amd-pmf | ||
F: drivers/platform/x86/amd/pmf/ | ||
|
||
AMD HSMP DRIVER | ||
M: Naveen Krishna Chatradhi <[email protected]> | ||
R: Carlos Bilbao <[email protected]> | ||
|
@@ -14542,6 +14549,7 @@ M: Daniel Dadap <[email protected]> | |
L: [email protected] | ||
S: Supported | ||
F: drivers/platform/x86/nvidia-wmi-ec-backlight.c | ||
F: include/linux/platform_data/x86/nvidia-wmi-ec-backlight.h | ||
|
||
NVM EXPRESS DRIVER | ||
M: Keith Busch <[email protected]> | ||
|
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.