Re: [PATCH] drm/rockchip: Suspend DP late

2019-08-05 Thread Sean Paul
On Fri, Aug 02, 2019 at 03:26:29PM -0400, Sean Paul wrote: > On Fri, Aug 02, 2019 at 11:46:16AM -0700, Douglas Anderson wrote: > > In commit fe64ba5c6323 ("drm/rockchip: Resume DP early") we moved > > resume to be early but left suspend at its normal time. This seems > > like it could be OK, but

Re: [PATCH] drm/rockchip: Suspend DP late

2019-08-02 Thread Sean Paul
On Fri, Aug 02, 2019 at 11:46:16AM -0700, Douglas Anderson wrote: > In commit fe64ba5c6323 ("drm/rockchip: Resume DP early") we moved > resume to be early but left suspend at its normal time. This seems > like it could be OK, but casues problems if a suspend gets interrupted > partway through.

[PATCH] drm/rockchip: Suspend DP late

2019-08-02 Thread Douglas Anderson
In commit fe64ba5c6323 ("drm/rockchip: Resume DP early") we moved resume to be early but left suspend at its normal time. This seems like it could be OK, but casues problems if a suspend gets interrupted partway through. The OS only balances matching suspend/resume levels. ...so if suspend was