summaryrefslogtreecommitdiff
path: root/include/acpi/video.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-06-04 15:06:18 +0300
committerHans de Goede <hdegoede@redhat.com>2022-09-03 13:17:26 +0300
commitfe7aebb40d42bf8e830019d6f57c47cf7d85aa61 (patch)
tree26a48928686e3d2b15924992dd7ab70732b39c08 /include/acpi/video.h
parentb39be9f441f9d7320e6020bdf8ec1522d6c81d1e (diff)
downloadlinux-fe7aebb40d42bf8e830019d6f57c47cf7d85aa61.tar.xz
ACPI: video: Add Nvidia WMI EC brightness control detection (v3)
On some new laptop designs a new Nvidia specific WMI interface is present which gives info about panel brightness control and may allow controlling the brightness through this interface when the embedded controller is used for brightness control. When this WMI interface is present and indicates that the EC is used, then this interface should be used for brightness control. Changes in v2: - Use the new shared nvidia-wmi-ec-backlight.h header for the WMI firmware API definitions - ACPI_VIDEO can now be enabled on non X86 too, adjust the Kconfig changes to match this. Changes in v3: - Use WMI_BRIGHTNESS_GUID define Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Daniel Dadap <ddadap@nvidia.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/acpi/video.h')
-rw-r--r--include/acpi/video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/video.h b/include/acpi/video.h
index 0625806d3bbd..91578e77ac4e 100644
--- a/include/acpi/video.h
+++ b/include/acpi/video.h
@@ -48,6 +48,7 @@ enum acpi_backlight_type {
acpi_backlight_video,
acpi_backlight_vendor,
acpi_backlight_native,
+ acpi_backlight_nvidia_wmi_ec,
};
#if IS_ENABLED(CONFIG_ACPI_VIDEO)