summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVishnu Sankar <vishnuocv@gmail.com>2024-11-06 02:55:05 +0300
committerHans de Goede <hdegoede@redhat.com>2024-11-06 14:48:42 +0300
commit1be765b292577c752e0b87bf8c0e92aff6699d8e (patch)
tree8a32dc23d916caeaf71192f7743d99ac56782e77 /tools/perf/scripts/python/flamegraph.py
parent36e66be874a7ea9d28fb9757629899a8449b8748 (diff)
downloadlinux-1be765b292577c752e0b87bf8c0e92aff6699d8e.tar.xz
platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed
Fix for Thinkpad's with ECFW showing incorrect fan speed. Some models use decimal instead of hexadecimal for the speed stored in the EC registers. For example the rpm register will have 0x4200 instead of 0x1068, here the actual RPM is "4200" in decimal. Add a quirk to handle this. Signed-off-by: Vishnu Sankar <vishnuocv@gmail.com> Suggested-by: Mark Pearson <mpearson-lenovo@squebb.ca> Link: https://lore.kernel.org/r/20241105235505.8493-1-vishnuocv@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions