drm/vc4: Add runtime PM support to the HDMI encoder driver
The HDMI driver is currently enabling all clocks at probe time and keeps the power-domain connected to the HDMI encoder enabled. Move all activation code to vc4_hdmi_encoder_enable() and make sure the clks and power domain are released when the HDMI encoder is not used by adding deactivation steps in vc4_hdmi_encoder_disable(). Note that the sequencing imposed by the IP requires that we move vc4_hdmi_encoder_mode_set() code into vc4_hdmi_encoder_enable(). Signed-off-by:Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Eric Anholt <eric@anholt.net>
Loading
-
mentioned in commit 755b2c80
-
mentioned in commit a2224f97
-
mentioned in commit 7e3e0482
-
mentioned in commit 10f37818
-
mentioned in commit 085260e9
-
mentioned in commit 7b8a60c1
-
mentioned in commit 4d1afdb4
-
mentioned in commit 33a70e04
-
mentioned in commit 9c119ad3
-
mentioned in commit be9fd336
Please register or sign in to comment