Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-17 Thread Sascha Hauer
On Mon, Apr 17, 2023 at 12:46:05PM +0200, Heiko Stübner wrote: > Hi Sascha, > > Am Montag, 17. April 2023, 11:42:15 CEST schrieb Sascha Hauer: > > During a suspend/resume cycle the VO power domain will be disabled and > > the VOP2 registers will reset to their default values. After that the > > ca

Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-17 Thread Heiko Stübner
Hi Sascha, Am Montag, 17. April 2023, 11:42:15 CEST schrieb Sascha Hauer: > During a suspend/resume cycle the VO power domain will be disabled and > the VOP2 registers will reset to their default values. After that the > cached register values will be out of sync and the read/modify/write > operat

Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-17 Thread Heiko Stuebner
On Thu, 13 Apr 2023 16:43:47 +0200, Sascha Hauer wrote: > During a suspend/resume cycle the VO power domain will be disabled and > the VOP2 registers will reset to their default values. After that the > cached register values will be out of sync and the read/modify/write > operations we do on the w

Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-17 Thread Sascha Hauer
On Fri, Apr 14, 2023 at 04:20:10PM +0200, Paul Kocialkowski wrote: > Hi, > > On Thu 13 Apr 23, 10:27, Chris Morgan wrote: > > On Thu, Apr 13, 2023 at 04:43:47PM +0200, Sascha Hauer wrote: > > > During a suspend/resume cycle the VO power domain will be disabled and > > > the VOP2 registers will res

[PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-17 Thread Sascha Hauer
During a suspend/resume cycle the VO power domain will be disabled and the VOP2 registers will reset to their default values. After that the cached register values will be out of sync and the read/modify/write operations we do on the window registers will result in bogus values written. Fix this by

Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-14 Thread Paul Kocialkowski
Hi, On Thu 13 Apr 23, 10:27, Chris Morgan wrote: > On Thu, Apr 13, 2023 at 04:43:47PM +0200, Sascha Hauer wrote: > > During a suspend/resume cycle the VO power domain will be disabled and > > the VOP2 registers will reset to their default values. After that the > > cached register values will be o

Re: [PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-13 Thread Chris Morgan
On Thu, Apr 13, 2023 at 04:43:47PM +0200, Sascha Hauer wrote: > During a suspend/resume cycle the VO power domain will be disabled and > the VOP2 registers will reset to their default values. After that the > cached register values will be out of sync and the read/modify/write > operations we do on

[PATCH] drm/rockchip: vop2: fix suspend/resume

2023-04-13 Thread Sascha Hauer
During a suspend/resume cycle the VO power domain will be disabled and the VOP2 registers will reset to their default values. After that the cached register values will be out of sync and the read/modify/write operations we do on the window registers will result in bogus values written. Fix this by