Re: [PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-08 Thread Marek Vasut
On 11/6/20 5:13 PM, Yannick FERTRE wrote: Hi Marek, Hi, On 11/5/20 10:45 AM, Marek Vasut wrote: On 11/5/20 10:39 AM, Daniel Vetter wrote: On Wed, Nov 04, 2020 at 01:52:00PM +0100, Marek Vasut wrote: Enable runtime PM before registering the fbdev emulation and disable it afterward, otherwis

Re: [PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-06 Thread Yannick FERTRE
Hi Marek, On 11/5/20 10:45 AM, Marek Vasut wrote: > On 11/5/20 10:39 AM, Daniel Vetter wrote: >> On Wed, Nov 04, 2020 at 01:52:00PM +0100, Marek Vasut wrote: >>> Enable runtime PM before registering the fbdev emulation and disable it >>> afterward, otherwise register access to the LTDC IP during t

Re: [PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-06 Thread Marek Vasut
On 11/5/20 10:39 AM, Daniel Vetter wrote: On Wed, Nov 04, 2020 at 01:52:00PM +0100, Marek Vasut wrote: Enable runtime PM before registering the fbdev emulation and disable it afterward, otherwise register access to the LTDC IP during the fbdev emulation registration might hang the system. The p

Re: [PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-05 Thread Daniel Vetter
On Wed, Nov 04, 2020 at 01:52:00PM +0100, Marek Vasut wrote: > Enable runtime PM before registering the fbdev emulation and disable it > afterward, otherwise register access to the LTDC IP during the fbdev > emulation registration might hang the system. > > The problem happens because RPM is activ

[PATCH] drm/stm: Enable RPM during fbdev registration

2020-11-05 Thread Marek Vasut
Enable runtime PM before registering the fbdev emulation and disable it afterward, otherwise register access to the LTDC IP during the fbdev emulation registration might hang the system. The problem happens because RPM is activated at the end of ltdc_load(), but the fbdev emulation registration ha