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

2020-07-29 Thread Sam Ravnborg
On Thu, Jul 30, 2020 at 03:46:26AM +0200, Paul Cercueil wrote: > Instead of keeping the IPU clock enabled constantly, enable and disable > it on demand, when the IPU plane is used. This explains what the patch does - but fails to mention why. Could you please add the why part too. With the

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

2020-07-29 Thread Paul Cercueil
Instead of keeping the IPU clock enabled constantly, enable and disable it on demand, when the IPU plane is used. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git