[PATCH] drm/bridge_connector: use drm_kms_helper_connector_hotplug_event()

Sam Ravnborg sam at ravnborg.org
Tue Jun 20 19:07:19 UTC 2023


Hi Simon,

On Tue, Jun 20, 2023 at 07:01:59PM +0000, Simon Ser wrote:
> On Tuesday, June 20th, 2023 at 20:58, Sam Ravnborg <sam at ravnborg.org> wrote:
> 
> > On Tue, Jun 20, 2023 at 05:55:09PM +0000, Simon Ser wrote:
> > 
> > > This adds more information to the hotplug uevent and lets user-space
> > > know that it's about a particular connector only.
> > 
> > Will this change have impact on user space?
> > They will start to see CONNECTOR=n where they did not occur before.
> > Asking as I have not really worked with the hotplug stuff.
> 
> Yes. CONNECTOR is an optional udev event property indicating that only
> the specified connector has changed. User-space unaware of this
> property will just ignore it. User-space aware of this property will
> only refresh information about the connector instead of the whole
> device.
> 
> A few months back, we've converted calls to
> drm_kms_helper_connector_hotplug_event() in amdgpu and the DRM DP
> helper.

Thanks for the explanation - all is good.

	Sam


More information about the dri-devel mailing list