platform/x86: system76_acpi: Replace Fn+F2 function for OLED models
authorJeremy Soller <jeremy@system76.com>
Wed, 6 Oct 2021 20:22:00 +0000 (14:22 -0600)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 Oct 2021 14:31:06 +0000 (16:31 +0200)
commit0de30fc684b3883be73602b7557661951319a9b9
tree871192ddb2c6c60adf2e2e0661c91c0ce2c1416d
parent95563d45b5da9cdd07496bf54f0d83f25d679847
platform/x86: system76_acpi: Replace Fn+F2 function for OLED models

System76 laptops models with OLED displays do not support the default
Fn+F2 behavior of turning the embedded display on and off. Some models
instead introduce a new notify event that is used to lock the screen so
the OS will put the display in a low power state.

Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Link: https://lore.kernel.org/r/20211006202202.7479-3-tcrawford@system76.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/system76_acpi.c