mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:36:45 +07:00
9ef08d7a44
there are three concepts represent backlight in int3406_thermal driver. 1. the raw brightness value from native graphics driver. 2. the percentage numbers from ACPI _BCL control method. 3. the consecutive numbers represent cooling states. int3406_thermal driver 1. uses value from DDDL/DDPC as the lower/upper limit, which is consistent with ACPI _BCL control methods. 2. reads current and maximum brightness from the native graphics driver. 3. expose them to thermal sysfs I/F This patch fixes the code that switches between the raw brightness value and the cooling state, which results in bogus value in thermal sysfs I/F. Signed-off-by: Zhang Rui <rui.zhang@intel.com> |
||
---|---|---|
.. | ||
acpi_thermal_rel.c | ||
acpi_thermal_rel.h | ||
int340x_thermal_zone.c | ||
int340x_thermal_zone.h | ||
int3400_thermal.c | ||
int3402_thermal.c | ||
int3403_thermal.c | ||
int3406_thermal.c | ||
Kconfig | ||
Makefile | ||
processor_thermal_device.c |