summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-10-05 23:23:20 +0300
committerHans de Goede <hdegoede@redhat.com>2021-10-14 14:25:13 +0300
commitf809891ee51b706e1a2a42998d8766c120660796 (patch)
tree35b4e3f4e7d504f321a9a8eb66009653f6a675c7 /drivers/video
parente8b7eb66738f559da1688ef3e4038180d7343547 (diff)
downloadlinux-f809891ee51b706e1a2a42998d8766c120660796.tar.xz
platform/x86: thinkpad_acpi: Register a privacy-screen device
Register a privacy-screen device on laptops with a privacy-screen, this exports the PrivacyGuard features to user-space using a standardized vendor-agnostic sysfs interface. Note the sysfs interface is read-only. Registering a privacy-screen device with the new privacy-screen class code will also allow the GPU driver to get a handle to it and export the privacy-screen setting as a property on the DRM connector object for the LCD panel. This DRM connector property is a new standardized interface which all user-space code should use to query and control the privacy-screen. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Reviewed-by: Mark Pearson <markpearson@lenovo.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211005202322.700909-9-hdegoede@redhat.com
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions