summaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome/Makefile
diff options
context:
space:
mode:
authorRajat Jain <rajatja@google.com>2022-01-07 11:02:07 -0800
committerHans de Goede <hdegoede@redhat.com>2022-01-10 12:17:37 +0100
commit3fb57847f6ec30e9aa27af7b37aed7a7419d50aa (patch)
treecde73bb6ba9b4a3f90651c50884015b2ab8663d5 /drivers/platform/chrome/Makefile
parent30598d925d466c53c4c218a58f80e043cfe9b085 (diff)
downloadlinux-stable-3fb57847f6ec30e9aa27af7b37aed7a7419d50aa.tar.gz
linux-stable-3fb57847f6ec30e9aa27af7b37aed7a7419d50aa.tar.bz2
linux-stable-3fb57847f6ec30e9aa27af7b37aed7a7419d50aa.zip
platform/chrome: Add driver for ChromeOS privacy-screen
This adds the ACPI driver for the ChromeOS privacy screen that is present on some chromeos devices. Note that ideally, we'd want this privacy screen driver to be probed BEFORE the drm probe in order to avoid a drm probe deferral: https://hansdegoede.livejournal.com/25948.html In practise, I found that ACPI drivers are bound to their devices AFTER the drm probe on chromebooks. So on chromebooks with privacy-screen, this patch along with the other one in this series results in a probe deferral of about 250ms for i915 driver. However, it did not result in any user noticeable delay of splash screen in my personal experience. In future if this probe deferral turns out to be an issue, we can consider turning this ACPI driver into something that is probed earlier than the drm drivers. Signed-off-by: Rajat Jain <rajatja@google.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Benson Leung <bleung@chromium.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220107190208.95479-2-rajatja@google.com
Diffstat (limited to 'drivers/platform/chrome/Makefile')
-rw-r--r--drivers/platform/chrome/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Makefile b/drivers/platform/chrome/Makefile
index f901d2e43166..5d4be9735d9d 100644
--- a/drivers/platform/chrome/Makefile
+++ b/drivers/platform/chrome/Makefile
@@ -4,6 +4,7 @@
CFLAGS_cros_ec_trace.o:= -I$(src)
obj-$(CONFIG_CHROMEOS_LAPTOP) += chromeos_laptop.o
+obj-$(CONFIG_CHROMEOS_PRIVACY_SCREEN) += chromeos_privacy_screen.o
obj-$(CONFIG_CHROMEOS_PSTORE) += chromeos_pstore.o
obj-$(CONFIG_CHROMEOS_TBMC) += chromeos_tbmc.o
obj-$(CONFIG_CROS_EC) += cros_ec.o