Re: [Intel-gfx] [PATCH 06/11] drm/i915/psr: Add intel_psr_activate_block_get()/put()

2018-04-03 Thread Rodrigo Vivi
On Mon, Apr 02, 2018 at 03:11:54PM -0700, Souza, Jose wrote: > On Mon, 2018-04-02 at 11:20 -0700, Rodrigo Vivi wrote: > > On Fri, Mar 30, 2018 at 03:23:31PM -0700, José Roberto de Souza > > wrote: > > > intel_psr_activate_block_get() should be called when by some reason > > > PSR should not be

Re: [Intel-gfx] [PATCH 06/11] drm/i915/psr: Add intel_psr_activate_block_get()/put()

2018-04-02 Thread Souza, Jose
On Mon, 2018-04-02 at 11:20 -0700, Rodrigo Vivi wrote: > On Fri, Mar 30, 2018 at 03:23:31PM -0700, José Roberto de Souza > wrote: > > intel_psr_activate_block_get() should be called when by some reason > > PSR should not be activated for some time, it will increment > > counter > > and it should

Re: [Intel-gfx] [PATCH 06/11] drm/i915/psr: Add intel_psr_activate_block_get()/put()

2018-04-02 Thread Rodrigo Vivi
On Fri, Mar 30, 2018 at 03:23:31PM -0700, José Roberto de Souza wrote: > intel_psr_activate_block_get() should be called when by some reason > PSR should not be activated for some time, it will increment counter > and it should the decremented by intel_psr_activate_block_put() > when PSR can be

[Intel-gfx] [PATCH 06/11] drm/i915/psr: Add intel_psr_activate_block_get()/put()

2018-03-30 Thread José Roberto de Souza
intel_psr_activate_block_get() should be called when by some reason PSR should not be activated for some time, it will increment counter and it should the decremented by intel_psr_activate_block_put() when PSR can be activated again. intel_psr_activate_block_put() will not actually activate PSR,