Re: [PATCH] drm/i915: Always send a hotplug event after resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux