Re: [PATCH v2 10/43] drm/rockchip: add mutex vop lock

2018-01-29 Thread Sandy Huang
在 2018/1/26 21:16, Thierry Escande 写道: From: zain wang Add a lock to vop to avoid disabling the crtc while waiting for a line flag while enabling psr. If we disable in the middle of waiting for the line flag, we'll end up timing out or worse. Signed-off-by: zain wang Signed-off-by: Sean Pau

[PATCH v2 10/43] drm/rockchip: add mutex vop lock

2018-01-28 Thread Thierry Escande
From: zain wang Add a lock to vop to avoid disabling the crtc while waiting for a line flag while enabling psr. If we disable in the middle of waiting for the line flag, we'll end up timing out or worse. Signed-off-by: zain wang Signed-off-by: Sean Paul Signed-off-by: Thierry Escande --- dri