Re: [PATCH v6 27/30] drm/rockchip: psr: Sanitize semantics of allow/disallow API

2018-04-16 Thread Andrzej Hajda
On 05.04.2018 11:49, Enric Balletbo i Serra wrote: > From: Tomasz Figa > > Currently both rockchip_drm_psr_activate() and _deactivate() only set the > boolean "active" flag without actually making sure that hardware state > complies with it. > > Since we are going to extend

[PATCH v6 27/30] drm/rockchip: psr: Sanitize semantics of allow/disallow API

2018-04-05 Thread Enric Balletbo i Serra
From: Tomasz Figa Currently both rockchip_drm_psr_activate() and _deactivate() only set the boolean "active" flag without actually making sure that hardware state complies with it. Since we are going to extend the usage of this API to properly lock PSR for the duration of