OSDN Git Service

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)
commit6ed9ed484d04c2f6db0f68b0a31ef24db27d6454
tree4306e7ed7ceab5308b475da564af6e7231ba96b2
parentd68fe15b1878acf6a88367c360bc98b309a9270e
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