diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-04-11 18:39:25 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-04-18 21:27:32 +0200 |
commit | 4f6e3d66ac522dec9733d433ad00e8e77747c372 (patch) | |
tree | e89c1b87a96b8c56355a472ddf321da3c600f355 /drivers/gpu/drm/zte | |
parent | drm/cma: Fix recent regression of mmap() in the MMU case. (diff) | |
download | linux-4f6e3d66ac522dec9733d433ad00e8e77747c372.tar.xz linux-4f6e3d66ac522dec9733d433ad00e8e77747c372.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/zte')
0 files changed, 0 insertions, 0 deletions