[PATCH v2] drm/i915: Discard previous atomic state on resume if connectors change

2016-05-09 Thread Daniel Vetter
On Mon, May 09, 2016 at 10:07:08AM -0400, Lyude Paul wrote: > Yep, Dave's patches fix the issue on their own so this is only going to be > needed for 4.6. Ok, so not the first one that only needs to be applied to stable kernels. For that to work you need to explain that this is the most minimal fi

[PATCH v2] drm/i915: Discard previous atomic state on resume if connectors change

2016-05-09 Thread Lyude Paul
no problem, I'll let you know when they're ready On Mon, 2016-05-09 at 16:53 +0200, Daniel Vetter wrote: > On Mon, May 09, 2016 at 10:07:08AM -0400, Lyude Paul wrote: > > > > Yep, Dave's patches fix the issue on their own so this is only going to be > > needed for 4.6. > Ok, so not the first one

[PATCH v2] drm/i915: Discard previous atomic state on resume if connectors change

2016-05-09 Thread Lyude Paul
Yep, Dave's patches fix the issue on their own so this is only going to be needed for 4.6. On Mon, 2016-05-09 at 08:42 +0200, Daniel Vetter wrote: > On Fri, May 06, 2016 at 05:39:56PM -0400, Lyude wrote: > > > > If an MST device is disconnected while the machine is suspended, the > > number of co

[PATCH v2] drm/i915: Discard previous atomic state on resume if connectors change

2016-05-09 Thread Daniel Vetter
On Fri, May 06, 2016 at 05:39:56PM -0400, Lyude wrote: > If an MST device is disconnected while the machine is suspended, the > number of connectors will change as well after we call > intel_dp_mst_resume(). This means that any previous atomic state we had > before suspending is no longer valid, si

[PATCH v2] drm/i915: Discard previous atomic state on resume if connectors change

2016-05-06 Thread Lyude
If an MST device is disconnected while the machine is suspended, the number of connectors will change as well after we call intel_dp_mst_resume(). This means that any previous atomic state we had before suspending is no longer valid, since it'll still be pointing to missing connectors. We need to c