Re: [PATCH 1/2] drm/mxsfb: Fix runtime PM for unpowering lcdif block

2018-07-18 Thread Leonard Crestez
On Fri, 2018-07-13 at 12:57 +0200, Stefan Agner wrote: > On 05.06.2018 19:11, Leonard Crestez wrote: > > Adding imx6sl/sx lcdif nodes in a power domain currently does work, it > > results in black/corrupted screens or hangs. While the driver does > > enable runtime pm it does not deal correctly

Re: [PATCH 1/2] drm/mxsfb: Fix runtime PM for unpowering lcdif block

2018-07-13 Thread Stefan Agner
On 05.06.2018 19:11, Leonard Crestez wrote: > Adding imx6sl/sx lcdif nodes in a power domain currently does work, it > results in black/corrupted screens or hangs. While the driver does > enable runtime pm it does not deal correctly with the block being > unpowered. > > Fix by adding

[PATCH 1/2] drm/mxsfb: Fix runtime PM for unpowering lcdif block

2018-06-06 Thread Leonard Crestez
Adding imx6sl/sx lcdif nodes in a power domain currently does work, it results in black/corrupted screens or hangs. While the driver does enable runtime pm it does not deal correctly with the block being unpowered. Fix by adding pm_runtime_get/put_sync to mxsfb_pipe_enable/disable. The