[Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-05-04 Thread Gabriel Krisman Bertazi
On systems where more than one connector is attached to the same port, the HPD pin is also shared, and attaching one connector will trigger a hotplug on every other connector on that port. But, according to the documentation, connectors sharing the port cannot be enabled simultaneously, such that

Re: [Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-05-04 Thread Chris Wilson
On Thu, May 04, 2017 at 05:36:49PM -0300, Gabriel Krisman Bertazi wrote: > On systems where more than one connector is attached to the same port, > the HPD pin is also shared, and attaching one connector will trigger a > hotplug on every other connector on that port. But, according to the > docume

Re: [Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-05-04 Thread Manasi Navare
On Thu, May 04, 2017 at 05:36:49PM -0300, Gabriel Krisman Bertazi wrote: > On systems where more than one connector is attached to the same port, > the HPD pin is also shared, and attaching one connector will trigger a > hotplug on every other connector on that port. But, according to the > docume

Re: [Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-05-28 Thread Gabriel Krisman Bertazi
Chris Wilson writes: > The key problem here is say a race between DP unplug and HDMI plug, and > users are evil enough (or common enough) for it to happen. > > I thought the idea was reasonable though, and perhaps we could make > more use of the knowlege of the shared ports to improve detection o

Re: [Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-06-05 Thread Ville Syrjälä
On Sun, May 28, 2017 at 09:53:19PM -0300, Gabriel Krisman Bertazi wrote: > Chris Wilson writes: > > > The key problem here is say a race between DP unplug and HDMI plug, and > > users are evil enough (or common enough) for it to happen. > > > > I thought the idea was reasonable though, and perhap

Re: [Intel-gfx] [PATCH RESEND] drm: i915: Don't try detecting sinks on ports already in use

2017-06-19 Thread Gabriel Krisman Bertazi
Ville Syrjälä writes: >> mutex_lock(&dev->mode_config.mutex); >> DRM_DEBUG_KMS("running encoder hotplug functions\n"); >> @@ -339,13 +340,18 @@ static void i915_hotplug_work_func(struct work_struct >> *work) >> if (!intel_connector->encoder) >> contin