diff options
| author | Hans de Goede <[email protected]> | 2021-10-05 22:23:17 +0200 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-10-14 13:12:26 +0200 |
| commit | 334f74ee85dc26a50c1a2b0da82517595191f92f (patch) | |
| tree | b527bcca03e86d3d6bddcd255550145510cc0afd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8a12b170558aabb31cc98fda0da6a56b518cadaa (diff) | |
drm/connector: Add a drm_connector privacy-screen helper functions (v2)
Add 2 drm_connector privacy-screen helper functions:
1. drm_connector_attach_privacy_screen_provider(), this function creates
and attaches the standard privacy-screen properties and registers a
generic notifier for generating sysfs-connector-status-events on external
changes to the privacy-screen status.
2. drm_connector_update_privacy_screen(), update the privacy-screen's
sw_state if the connector has a privacy-screen.
Changes in v2:
- Do not update connector->state->privacy_screen_sw_state on
atomic-commits.
- Change drm_connector_update_privacy_screen() to take drm_connector_state
as argument instead of a full drm_atomic_state. This allows the helper
to be called by drivers when they are enabling crtcs/encoders/connectors.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions