diff options
| author | Simon Ser <[email protected]> | 2023-06-20 17:42:42 +0000 |
|---|---|---|
| committer | Simon Ser <[email protected]> | 2023-06-23 13:54:00 +0000 |
| commit | 0cf8d292ba5ed90c7873ea84270deaecc1988f05 (patch) | |
| tree | 64a612ce91a46317f4d3c6f4b3acbe11c20f70c1 /drivers/gpu/drm/drm_connector.c | |
| parent | drm: fix code style for embedded structs in hdr_metadata_infoframe (diff) | |
| download | kernel-0cf8d292ba5ed90c7873ea84270deaecc1988f05.tar.gz kernel-0cf8d292ba5ed90c7873ea84270deaecc1988f05.zip | |
drm/sysfs: rename drm_sysfs_connector_status_event()
Rename drm_sysfs_connector_status_event() to
drm_sysfs_connector_property_event(). Indeed, "status" is a bit
vague: it can easily be confused with the connected/disconnected
status of the connector. This function has nothing to do with
connected/disconnected: it merely sends a notification that a
connector's property has changed (e.g. HDCP, privacy screen, etc).
Signed-off-by: Simon Ser <[email protected]>
Cc: Manasi Navare <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
| -rw-r--r-- | drivers/gpu/drm/drm_connector.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 3ed4cfcb350c..bf8371dc2a61 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -2730,10 +2730,10 @@ static int drm_connector_privacy_screen_notifier( drm_connector_update_privacy_screen_properties(connector, true); drm_modeset_unlock(&dev->mode_config.connection_mutex); - drm_sysfs_connector_status_event(connector, - connector->privacy_screen_sw_state_property); - drm_sysfs_connector_status_event(connector, - connector->privacy_screen_hw_state_property); + drm_sysfs_connector_property_event(connector, + connector->privacy_screen_sw_state_property); + drm_sysfs_connector_property_event(connector, + connector->privacy_screen_hw_state_property); return NOTIFY_DONE; } |
