Re: [Intel-gfx] [PATCH] drm/915/psr: Set psr.source_ok during atomic_check

2017-12-14 Thread Pandiyan, Dhinakaran
On Thu, 2017-12-14 at 17:06 +0200, Ville Syrjälä wrote: > On Tue, Dec 12, 2017 at 04:59:34PM -0800, Dhinakaran Pandiyan wrote: > > Since commit 4d90f2d507ab ("drm/i915: Start tracking PSR state in crtc > > state"), we check whether PSR can be enabled or not in > > psr_compute_config(). Given that

Re: [Intel-gfx] [PATCH] drm/915/psr: Set psr.source_ok during atomic_check

2017-12-14 Thread Ville Syrjälä
On Tue, Dec 12, 2017 at 04:59:34PM -0800, Dhinakaran Pandiyan wrote: > Since commit 4d90f2d507ab ("drm/i915: Start tracking PSR state in crtc > state"), we check whether PSR can be enabled or not in > psr_compute_config(). Given that the psr.source_ok field is supposed to > track this check, set th

[Intel-gfx] [PATCH] drm/915/psr: Set psr.source_ok during atomic_check

2017-12-12 Thread Dhinakaran Pandiyan
Since commit 4d90f2d507ab ("drm/i915: Start tracking PSR state in crtc state"), we check whether PSR can be enabled or not in psr_compute_config(). Given that the psr.source_ok field is supposed to track this check, set the field in psr_compute_config() as well. Now tests can distinguish between P