]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/hdmi: Set up runtime PM for HDMI
authorArchit Taneja <architt@codeaurora.org>
Fri, 28 Jul 2017 10:47:02 +0000 (16:17 +0530)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Aug 2017 11:53:46 +0000 (07:53 -0400)
commit5f74d21127224831f144401f59d0cffdd784c561
tree4306e7ed7ceab5308b475da564af6e7231ba96b2
parent9bd4b0f70d22fa13f44b5400873a2643b24ef860
drm/msm/hdmi: Set up runtime PM for HDMI

Enable rudimentary runtime PM in the HDMI driver. We can't really do
agressive PM toggling at the moment because we need to leave the hpd
clocks enabled all the time. There isn't much benefit of creating
suspend/resume ops to toggle clocks either.

We just make sure that we configure the power domain in the HDMI bridge's
enable/disable paths, and the HDMI connector's detect() op.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi.c
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c
drivers/gpu/drm/msm/hdmi/hdmi_connector.c