Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-25 Thread Keith Packard
On Mon, 25 Jul 2011 13:15:54 -0400, Andrew Lutomirski wrote: > Done. Jesse Barnes and I discovered, much to our horror, that the hotplugging path isn't holding the struct mutex while attempting to retrain the DP link. That means that an application could well be doing a bit of overlapping modese

Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-25 Thread Andrew Lutomirski
On Mon, Jul 25, 2011 at 12:08 PM, Keith Packard wrote: > On Mon, 25 Jul 2011 11:23:17 -0400, Andrew Lutomirski wrote: > >> A debugging patch and its output are attached. > > I didn't get any attachment. > >> If I had to guess, though, it's a race: a hotplug event happens during >> the intel_dp_dp

Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-25 Thread Keith Packard
On Mon, 25 Jul 2011 11:23:17 -0400, Andrew Lutomirski wrote: > A debugging patch and its output are attached. I didn't get any attachment. > If I had to guess, though, it's a race: a hotplug event happens during > the intel_dp_dpms callback, confusing the code that's trying to train > the link.

Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-25 Thread Andrew Lutomirski
On Mon, Jul 25, 2011 at 12:54 AM, Keith Packard wrote: > On Sat, 23 Jul 2011 14:40:36 -0400, Andrew Lutomirski wrote: >> I have a Q67 (DQ67SW board) attached to a Dell U2711 via DP.  In >> previous kernels, the DP link has worked flawlessly.  I just booted >> 3.0-final and simultaneously enabled

Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-24 Thread Keith Packard
On Sat, 23 Jul 2011 14:40:36 -0400, Andrew Lutomirski wrote: > I have a Q67 (DQ67SW board) attached to a Dell U2711 via DP. In > previous kernels, the DP link has worked flawlessly. I just booted > 3.0-final and simultaneously enabled SNA, and now when my screen goes > to sleep I don't get an im

Re: [Intel-gfx] 3.0 (or SNA?) regression: failed to train DP, aborting

2011-07-23 Thread Andrew Lutomirski
On Sat, Jul 23, 2011 at 2:40 PM, Andrew Lutomirski wrote: > I have a Q67 (DQ67SW board) attached to a Dell U2711 via DP.  In > previous kernels, the DP link has worked flawlessly.  I just booted > 3.0-final and simultaneously enabled SNA, and now when my screen goes > to sleep I don't get an image