Re: [PATCH v2 1/7] drm: mxsfb: Simplify LCDIF clock handling

2022-04-16 Thread Marek Vasut
On 4/7/22 09:57, Lucas Stach wrote: Am Mittwoch, dem 06.04.2022 um 23:45 +0200 schrieb Marek Vasut: On 4/6/22 21:32, Lucas Stach wrote: Hi Marek, Hi, Am Freitag, dem 11.03.2022 um 18:05 +0100 schrieb Marek Vasut: The current clock handling in the LCDIF driver is a convoluted mess. Here w

Re: [PATCH v2 1/7] drm: mxsfb: Simplify LCDIF clock handling

2022-04-07 Thread Lucas Stach
Am Mittwoch, dem 06.04.2022 um 23:45 +0200 schrieb Marek Vasut: > On 4/6/22 21:32, Lucas Stach wrote: > > Hi Marek, > > Hi, > > > Am Freitag, dem 11.03.2022 um 18:05 +0100 schrieb Marek Vasut: > > > The current clock handling in the LCDIF driver is a convoluted mess. > > > > Here we agree... > >

Re: [PATCH v2 1/7] drm: mxsfb: Simplify LCDIF clock handling

2022-04-06 Thread Marek Vasut
On 4/6/22 21:32, Lucas Stach wrote: Hi Marek, Hi, Am Freitag, dem 11.03.2022 um 18:05 +0100 schrieb Marek Vasut: The current clock handling in the LCDIF driver is a convoluted mess. Here we agree... Implement runtime PM ops which turn the clock ON and OFF and let the pm_runtime_get_sync(

Re: [PATCH v2 1/7] drm: mxsfb: Simplify LCDIF clock handling

2022-04-06 Thread Lucas Stach
Hi Marek, Am Freitag, dem 11.03.2022 um 18:05 +0100 schrieb Marek Vasut: > The current clock handling in the LCDIF driver is a convoluted mess. Here we agree... > Implement runtime PM ops which turn the clock ON and OFF and let the > pm_runtime_get_sync()/pm_runtime_put_sync() calls in .atomic_e

[PATCH v2 1/7] drm: mxsfb: Simplify LCDIF clock handling

2022-03-11 Thread Marek Vasut
The current clock handling in the LCDIF driver is a convoluted mess. Implement runtime PM ops which turn the clock ON and OFF and let the pm_runtime_get_sync()/pm_runtime_put_sync() calls in .atomic_enable and .atomic_disable callbacks turn the clock ON and OFF at the right time. This requires sli