drm/privacy_screen_x86: Add entry for ChromeOS privacy-screen
authorRajat Jain <rajatja@google.com>
Fri, 7 Jan 2022 19:02:08 +0000 (11:02 -0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 10 Jan 2022 11:17:37 +0000 (12:17 +0100)
commit0af2e827b6acfd22b7794c148943a3ddfe5fbb65
tree931cb926f8e2294d5abc8f057f69ed20cf4e7158
parent3fb57847f6ec30e9aa27af7b37aed7a7419d50aa
drm/privacy_screen_x86: Add entry for ChromeOS privacy-screen

Add a static entry in the x86 table, to detect and wait for
privacy-screen on some ChromeOS platforms.

Please note that this means that if CONFIG_CHROMEOS_PRIVACY_SCREEN is
enabled, and if "GOOG0010" device is found in ACPI, then the i915 probe
shall return EPROBE_DEFER until a platform driver actually registers the
privacy-screen: https://hansdegoede.livejournal.com/25948.html

Signed-off-by: Rajat Jain <rajatja@google.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.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-3-rajatja@google.com
drivers/gpu/drm/drm_privacy_screen_x86.c