Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-21 Thread Imre Deak
On pe, 2016-10-21 at 11:51 +0300, Jani Nikula wrote: > On Fri, 21 Oct 2016, Imre Deak wrote: > > I tried this now on the fi-skl-6700hq machine in the bug report and it > > seems to be the same failure mode as the APL one. There is one > > difference in that on the SKL machine

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-21 Thread Jani Nikula
On Fri, 21 Oct 2016, Imre Deak wrote: > On Fri, 2016-10-21 at 00:40 +0300, Imre Deak wrote: >> On Thu, 2016-10-20 at 23:50 +0300, Jani Nikula wrote: >> > On Thu, 20 Oct 2016, Imre Deak wrote: >> > > On Thu, 2016-10-20 at 22:24 +0300, Jani Nikula wrote:

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-21 Thread Imre Deak
On Fri, 2016-10-21 at 11:16 +0530, Sharma, Shashank wrote: > Regards > > Shashank > > > On 10/21/2016 12:50 AM, Imre Deak wrote: > > On Thu, 2016-10-20 at 21:20 +0300, Jani Nikula wrote: > > > On Thu, 20 Oct 2016, Imre Deak wrote: > > > > On my APL the LSPCON firmware

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-21 Thread Imre Deak
On Fri, 2016-10-21 at 00:40 +0300, Imre Deak wrote: > On Thu, 2016-10-20 at 23:50 +0300, Jani Nikula wrote: > > On Thu, 20 Oct 2016, Imre Deak wrote: > > > On Thu, 2016-10-20 at 22:24 +0300, Jani Nikula wrote: > > > > On Thu, 20 Oct 2016, Jani Nikula

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Sharma, Shashank
Regards Shashank On 10/21/2016 12:50 AM, Imre Deak wrote: On Thu, 2016-10-20 at 21:20 +0300, Jani Nikula wrote: On Thu, 20 Oct 2016, Imre Deak wrote: On my APL the LSPCON firmware resumes in PCON mode as opposed to the expected LS mode. It also appears to be in a state

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Imre Deak
On Thu, 2016-10-20 at 23:50 +0300, Jani Nikula wrote: > On Thu, 20 Oct 2016, Imre Deak wrote: > > On Thu, 2016-10-20 at 22:24 +0300, Jani Nikula wrote: > > > On Thu, 20 Oct 2016, Jani Nikula wrote: > > > > On Thu, 20 Oct 2016, Imre Deak

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Imre Deak wrote: > On Thu, 2016-10-20 at 21:20 +0300, Jani Nikula wrote: >> On Thu, 20 Oct 2016, Imre Deak wrote: >> > + bool desc_valid; >> > + struct intel_dp_desc desc; >> >> I guess we could cache the desc in intel_dp

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Imre Deak wrote: > On Thu, 2016-10-20 at 22:24 +0300, Jani Nikula wrote: >> On Thu, 20 Oct 2016, Jani Nikula wrote: >> > On Thu, 20 Oct 2016, Imre Deak wrote: >> > > On my APL the LSPCON firmware resumes in

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Imre Deak
On Thu, 2016-10-20 at 22:24 +0300, Jani Nikula wrote: > On Thu, 20 Oct 2016, Jani Nikula wrote: > > On Thu, 20 Oct 2016, Imre Deak wrote: > > > On my APL the LSPCON firmware resumes in PCON mode as opposed to the > > > expected LS mode. It also appears

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Imre Deak
On Thu, 2016-10-20 at 21:20 +0300, Jani Nikula wrote: > On Thu, 20 Oct 2016, Imre Deak wrote: > > On my APL the LSPCON firmware resumes in PCON mode as opposed to the > > expected LS mode. It also appears to be in a state where AUX DPCD reads > > will succeed but return

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Jani Nikula wrote: > On Thu, 20 Oct 2016, Imre Deak wrote: >> On my APL the LSPCON firmware resumes in PCON mode as opposed to the >> expected LS mode. It also appears to be in a state where AUX DPCD reads >> will succeed but

Re: [Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Jani Nikula
On Thu, 20 Oct 2016, Imre Deak wrote: > On my APL the LSPCON firmware resumes in PCON mode as opposed to the > expected LS mode. It also appears to be in a state where AUX DPCD reads > will succeed but return garbage recovering only after a few hundreds of > milliseconds.

[Intel-gfx] [PATCH 2/2] drm/i915/lspcon: Add workaround for resuming in PCON mode

2016-10-20 Thread Imre Deak
On my APL the LSPCON firmware resumes in PCON mode as opposed to the expected LS mode. It also appears to be in a state where AUX DPCD reads will succeed but return garbage recovering only after a few hundreds of milliseconds. After the recovery time DPCD reads will result in the correct values