aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-12-01 12:12:54 -0500
committerRob Clark <robdclark@gmail.com>2014-01-09 14:44:05 -0500
commitdada25bd22a52a4351357209a8c227070cfd406d (patch)
treea90fd5973a2f7d730cec2918875a0006a1e3d3e8 /drivers/gpu/drm/msm/msm_drv.h
parent9e0efa63565511dc75846e6b036a4b80e92b9a98 (diff)
drm/msm: add hdmi support for apq8x74/mdp5
The HDMI block is basically the same between older SoC's with mdp4 display controller, and newer ones with mdp5. So mostly this consists of better abstracting out the different sets of regulators, clks, etc. In particular, for regulators and clks we can split it up by what is needed for hot plug detect to work, and what is needed to light up the display. Also, 8x74 has a new phy.. a very simple one, but split out into a different mmio space. And with mdp5, the irq is shared with mdp, so we don't directly register our own irq handler. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r--drivers/gpu/drm/msm/msm_drv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
index aa78bede1446..3d63269c5b29 100644
--- a/drivers/gpu/drm/msm/msm_drv.h
+++ b/drivers/gpu/drm/msm/msm_drv.h
@@ -190,7 +190,9 @@ struct drm_framebuffer *msm_framebuffer_create(struct drm_device *dev,
190 190
191struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev); 191struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev);
192 192
193int hdmi_init(struct drm_device *dev, struct drm_encoder *encoder); 193struct hdmi;
194struct hdmi *hdmi_init(struct drm_device *dev, struct drm_encoder *encoder);
195irqreturn_t hdmi_irq(int irq, void *dev_id);
194void __init hdmi_register(void); 196void __init hdmi_register(void);
195void __exit hdmi_unregister(void); 197void __exit hdmi_unregister(void);
196 198