[Intel-gfx] [PATCH] i915/display/hotplug: use drm_kms_helper_connector_hotplug_event()

Jani Nikula jani.nikula at intel.com
Wed Jun 21 12:11:23 UTC 2023


On Wed, 21 Jun 2023, Simon Ser <contact at emersion.fr> wrote:
> On Wednesday, June 21st, 2023 at 14:05, Jani Nikula <jani.nikula at intel.com> wrote:
>
>> > - if (changed)
>> > + if (hweight32(changed) == 1)
>> > + drm_kms_helper_connector_hotplug_event(first_changed_connector);
>> 
>> What if more than one connector share the same hpd pin?
>
> Ah, I did not believe this could happen. I'll rework the patch to
> count the number of changed connectors instead.

A DP++ port is probably the prime example of this, with both DP and HDMI
connectors.

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list