Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-03-01 Thread Souza, Jose
On Fri, 2019-03-01 at 22:45 +0200, Ville Syrjälä wrote: > On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza > wrote: > > When PSR2 is active aka after the number of frames programmed in > > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > > interruptions causing IGT

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-03-01 Thread Ville Syrjälä
On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza wrote: > When PSR2 is active aka after the number of frames programmed in > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > interruptions causing IGT tests to fail due timeout. I'm more concerned about the all ones

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-03-01 Thread Souza, Jose
On Fri, 2019-03-01 at 12:12 -0800, Dhinakaran Pandiyan wrote: > On Wed, 2019-02-27 at 17:32 -0800, José Roberto de Souza wrote: > > When PSR2 is active aka after the number of frames programmed in > > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > > interruptions causing IGT tes

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-03-01 Thread Dhinakaran Pandiyan
On Wed, 2019-02-27 at 17:32 -0800, José Roberto de Souza wrote: > When PSR2 is active aka after the number of frames programmed in > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > interruptions causing IGT tests to fail due timeout. Just to make sure we are documenting the issu

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-02-28 Thread Souza, Jose
On Thu, 2019-02-28 at 17:57 -0800, Dhinakaran Pandiyan wrote: > On Thu, 2019-02-28 at 15:07 -0800, Souza, Jose wrote: > > On Thu, 2019-02-28 at 18:58 +0200, Ville Syrjälä wrote: > > > On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza > > > wrote: > > > > When PSR2 is active aka after

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-02-28 Thread Dhinakaran Pandiyan
On Thu, 2019-02-28 at 15:07 -0800, Souza, Jose wrote: > On Thu, 2019-02-28 at 18:58 +0200, Ville Syrjälä wrote: > > On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza > > wrote: > > > When PSR2 is active aka after the number of frames programmed in > > > PSR2_CTL 'Frames Before SU Entr

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-02-28 Thread Souza, Jose
On Thu, 2019-02-28 at 18:58 +0200, Ville Syrjälä wrote: > On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza > wrote: > > When PSR2 is active aka after the number of frames programmed in > > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > > interruptions causing IGT

Re: [Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-02-28 Thread Ville Syrjälä
On Wed, Feb 27, 2019 at 05:32:58PM -0800, José Roberto de Souza wrote: > When PSR2 is active aka after the number of frames programmed in > PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC > interruptions causing IGT tests to fail due timeout. > > Oddly that don't happen when PSR1

[Intel-gfx] [PATCH v3 5/6] drm/i915: Disable PSR2 while getting pipe CRC

2019-02-27 Thread José Roberto de Souza
When PSR2 is active aka after the number of frames programmed in PSR2_CTL 'Frames Before SU Entry' hardware stops to generate CRC interruptions causing IGT tests to fail due timeout. Oddly that don't happen when PSR1 active, so here it switches from PSR2 to PSR1 while user is requesting pipe CRC.