[Intel-gfx] [PATCH] drm/i915: Always send a hotplug event after resume

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 21 15:27:53 UTC 2016


On Fri, Oct 21, 2016 at 11:16:07AM +0100, Chris Wilson wrote:
> Curently after resume we reset all connector status to unknown and then
> try to tell userspace about the probable changes (e.g. a laptop being
> unplugged from one dock and plugged into another). However, we call
> drm_helper_hpd_irq_event() to send the hotplug event to userspace which
> first does a check of connector->status before deciding if userspace
> needs to know about the event. This will filter out the above scenario
> of one output being replaced because it only checks the status and not
> whether the output is the same.
> 
> Always send the hotplug uevent to userspace upon resume, and force it to
> reprobe.

Bah, since we no longer set the status to unknown, this alone is not
enough to undo the damage.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list