Re: [PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-18 Thread Simon Ser
On Tuesday, October 18th, 2022 at 11:24, Ville Syrjälä wrote: > On Mon, Oct 17, 2022 at 03:32:01PM +, Simon Ser wrote: > > > A typical DP-MST unplug removes a KMS connector. However care must > > be taken to properly synchronize with user-space. The expected > > sequence of events is the fo

Re: [PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-18 Thread Ville Syrjälä
On Mon, Oct 17, 2022 at 03:32:01PM +, Simon Ser wrote: > A typical DP-MST unplug removes a KMS connector. However care must > be taken to properly synchronize with user-space. The expected > sequence of events is the following: > > 1. The kernel notices that the DP-MST port is gone. > 2. The k

Re: [PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-17 Thread Lyude Paul
LGTM! Thank you for the help with this: Reviewed-by: Lyude Paul On Mon, 2022-10-17 at 15:32 +, Simon Ser wrote: > A typical DP-MST unplug removes a KMS connector. However care must > be taken to properly synchronize with user-space. The expected > sequence of events is the following: > > 1.

Re: [PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-17 Thread Jonas Ådahl
On Mon, Oct 17, 2022 at 03:32:01PM +, Simon Ser wrote: > A typical DP-MST unplug removes a KMS connector. However care must > be taken to properly synchronize with user-space. The expected > sequence of events is the following: > > 1. The kernel notices that the DP-MST port is gone. > 2. The k

[PATCH 2/2] drm/connector: send hotplug uevent on connector cleanup

2022-10-17 Thread Simon Ser
A typical DP-MST unplug removes a KMS connector. However care must be taken to properly synchronize with user-space. The expected sequence of events is the following: 1. The kernel notices that the DP-MST port is gone. 2. The kernel marks the connector as disconnected, then sends a uevent to ma