diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2021-10-05 22:23:16 +0200 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2021-10-14 13:12:25 +0200 |
| commit | 8a12b170558aabb31cc98fda0da6a56b518cadaa (patch) | |
| tree | 09f3df415d74132ec03a82e4b15c1e3962697553 /drivers/gpu/drm/drm_connector.c | |
| parent | befe5404a00b3b1547c944738df4a9229909bdc9 (diff) | |
| download | linux-8a12b170558aabb31cc98fda0da6a56b518cadaa.tar.gz linux-8a12b170558aabb31cc98fda0da6a56b518cadaa.tar.bz2 linux-8a12b170558aabb31cc98fda0da6a56b518cadaa.zip | |
drm/privacy-screen: Add notifier support (v2)
Add support for privacy-screen consumers to register a notifier to
be notified of external (e.g. done by the hw itself on a hotkey press)
state changes.
Changes in v2:
- Drop WARN_ON(mutex_is_locked(&priv->lock)) check in
drm_privacy_screen_call_notifier_chain() it may be locked by
another thread, which would lead to a false-positive triggering
of the check
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005202322.700909-5-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
0 files changed, 0 insertions, 0 deletions
