<p dir="ltr"></p>
<p dir="ltr">On Aug 16, 2016 7:41 PM, "Yakir Yang" <<a href="mailto:ykk@rock-chips.com">ykk@rock-chips.com</a>> wrote:<br>
><br>
> Sean,<br>
><br>
> Thanks a lot for your good fixes. I have reviewed most of them, and all looks good to me.<br>
><br>
> But I got a question for merging things. My PSR patch set still under reviewing, haven't been picked up Mark or other maintainers. </p>
<p dir="ltr">I've picked them up in my tree. I'll send a pull request to Dave once all of the dependencies have been reviewed (marked NEEDS REVIEW).</p>
<p dir="ltr">Sean<br><br></p>
<p dir="ltr">> Feel a little bit embarrassed, how could we handle this situation ?<br>
><br>
> - Yakir<br>
><br>
><br>
> On 08/17/2016 09:11 AM, Sean Paul wrote:<br>
>><br>
>> This is a follow-on set to Yakir's original PSR set here:<br>
>> <a href="https://lkml.org/lkml/2016/7/24/34">https://lkml.org/lkml/2016/7/24/34</a><br>
>> and applies to the for-next branch at:<br>
>> <a href="https://cgit.freedesktop.org/~seanpaul/dogwood">https://cgit.freedesktop.org/~seanpaul/dogwood</a><br>
>><br>
>> There are a few issues with the code that needed to be<br>
>> shored up.<br>
>> (1) The use of mutexes instead of spinlocks caused issues calling the<br>
>> psr functions from vblank_enable/disable.<br>
>> (2) The proliferation of workers due to (1)<br>
>> (3) A bunch of races due to (2)<br>
>> (4) vblank is not enabled unless an event is requested, this breaks<br>
>> a lot of things, but most noticeable was cursor.<br>
>><br>
>> Changes in v2:<br>
>> - Rebased on <a href="https://cgit.freedesktop.org/~seanpaul/dogwood">https://cgit.freedesktop.org/~seanpaul/dogwood</a><br>
>> instead of random on-list patches (some of which had drifted)<br>
>> - Added the "small fixes" patch to catch some nits<br>
>><br>
>><br>
>> Sean Paul (6):<br>
>> drm/rockchip: Convert psr_list_mutex to spinlock and use it<br>
>> drm/rockchip: Don't use a delayed worker for psr state changes<br>
>> drm/rockchip: Use a spinlock to protect psr state<br>
>> drm/rockchip: A couple small fixes to psr<br>
>> drm/rockchip: Improve analogix-dp psr handling<br>
>> drm/rockchip: Enable vblank without event<br>
>><br>
>> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 19 ++++--<br>
>> drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +-<br>
>> drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 2 +-<br>
>> drivers/gpu/drm/rockchip/rockchip_drm_psr.c | 90 ++++++++++++-------------<br>
>> drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 15 +++--<br>
>> 5 files changed, 69 insertions(+), 59 deletions(-)<br>
>><br>
><br>
></p>