Re: [Intel-gfx] [PATCH] drm/i915/psr: Don't avoid PSR when PSR2

2018-02-22 Thread Pandiyan, Dhinakaran
On Wed, 2018-02-14 at 08:03 -0800, Rodrigo Vivi wrote: > We can still use PSR1 when PSR2 conditions are not met. > > So, let's split the check in a way that we make sure has_psr > gets set independently of PSR2 criteria. > > v2: Duh! Handle proper return to avoid breaking PSR2. > > Cc: Dhinakara

[Intel-gfx] [PATCH] drm/i915/psr: Don't avoid PSR when PSR2 conditions are not met.

2018-02-14 Thread Rodrigo Vivi
We can still use PSR1 when PSR2 conditions are not met. So, let's split the check in a way that we make sure has_psr gets set independently of PSR2 criteria. v2: Duh! Handle proper return to avoid breaking PSR2. Cc: Dhinakaran Pandiyan Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/inte