aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorKurt Borja <[email protected]>2024-11-11 15:36:23 -0300
committerIlpo Järvinen <[email protected]>2024-11-16 16:50:15 +0200
commitbfcda5cbcdb642a64d5b8a0229842dca7917ac6e (patch)
treeebb383852bf2d17bb19636a9f27417803126cbd2 /drivers/fpga/fpga-mgr.c
parent01bd181d21cf65e43f30948f9216571218732a12 (diff)
alienware-wmi: create_thermal_profile() no longer brute-forces IDs
WMAX_METHOD_THERMAL_INFORMATION has a *system description* operation that outputs a buffer with the following structure: out[0] -> Number of fans out[1] -> Number of sensors out[2] -> 0x00 out[3] -> Number of thermal modes This is now used by create_thermal_profile() to retrieve available thermal codes instead of brute-forcing every ID. Tested on an Alienware x15 R1. Verified by checking ACPI tables of supported models. Signed-off-by: Kurt Borja <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions