aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-04-04 11:02:46 +0000
committerRafael J. Wysocki <[email protected]>2023-04-05 18:23:02 +0000
commit78dfc9d1d1abb9e400386fa9c5724a8f7d75e3b9 (patch)
tree045cd0b55a09278b6cfc28e5c87f5136fd0c9fbb /tools/perf/scripts/python/compaction-times.py
parentLinux 6.3-rc5 (diff)
downloadkernel-78dfc9d1d1abb9e400386fa9c5724a8f7d75e3b9.tar.gz
kernel-78dfc9d1d1abb9e400386fa9c5724a8f7d75e3b9.zip
ACPI: video: Add auto_detect arg to __acpi_video_get_backlight_type()
Allow callers of __acpi_video_get_backlight_type() to pass a pointer to a bool which will get set to false if the backlight-type comes from the cmdline or a DMI quirk and set to true if auto-detection was used. And make __acpi_video_get_backlight_type() non static so that it can be called directly outside of video_detect.c . While at it turn the acpi_video_get_backlight_type() and acpi_video_backlight_use_native() wrappers into static inline functions in include/acpi/video.h, so that we need to export one less symbol. Fixes: 5aa9d943e9b6 ("ACPI: video: Don't enable fallback path for creating ACPI backlight by default") Cc: All applicable <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions