gpu: ipu-v3: prg: switch to runtime PM
authorLucas Stach <l.stach@pengutronix.de>
Fri, 10 Nov 2017 16:06:05 +0000 (17:06 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 19 Dec 2017 11:49:11 +0000 (12:49 +0100)
commit729440897312c281367fe7fa1461e244dd84ec97
tree6f0b56c883211ad374817135bac952eab8284586
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b
gpu: ipu-v3: prg: switch to runtime PM

Instead of open-coding the clk enable/disable in all of the callers
move this to the RPM suspend/resume functions.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-prg.c