Re: [PATCH v2 3/3] drm/ingenic: ipu: Only enable clock when needed

2020-08-04 Thread Daniel Vetter
On Thu, Jul 30, 2020 at 06:21:05PM +0200, Paul Cercueil wrote: > > > Le jeu. 30 juil. 2020 à 17:29, Sam Ravnborg a écrit : > > On Thu, Jul 30, 2020 at 04:48:30PM +0200, Paul Cercueil wrote: > > > Instead of keeping the IPU clock enabled constantly, enable and > > > disable > > > it on demand,

Re: [PATCH v2 3/3] drm/ingenic: ipu: Only enable clock when needed

2020-07-31 Thread Paul Cercueil
Le jeu. 30 juil. 2020 à 17:29, Sam Ravnborg a écrit : On Thu, Jul 30, 2020 at 04:48:30PM +0200, Paul Cercueil wrote: Instead of keeping the IPU clock enabled constantly, enable and disable it on demand, when the IPU plane is used. That way, we won't use any extra power when the IPU is

[PATCH v2 3/3] drm/ingenic: ipu: Only enable clock when needed

2020-07-31 Thread Paul Cercueil
Instead of keeping the IPU clock enabled constantly, enable and disable it on demand, when the IPU plane is used. That way, we won't use any extra power when the IPU is not used. v2: Explain the reason of this patch Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 23

Re: [PATCH v2 3/3] drm/ingenic: ipu: Only enable clock when needed

2020-07-30 Thread Sam Ravnborg
On Thu, Jul 30, 2020 at 04:48:30PM +0200, Paul Cercueil wrote: > Instead of keeping the IPU clock enabled constantly, enable and disable > it on demand, when the IPU plane is used. That way, we won't use any > extra power when the IPU is not used. > > v2: Explain the reason of this patch > >