diff options
author | Rob Clark <robdclark@gmail.com> | 2013-12-01 18:12:54 +0100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-01-09 20:44:05 +0100 |
commit | dada25bd22a52a4351357209a8c227070cfd406d (patch) | |
tree | a90fd5973a2f7d730cec2918875a0006a1e3d3e8 /drivers/gpu/drm/msm/msm_drv.h | |
parent | drm/msm: move irq utils to mdp_kms (diff) | |
download | linux-dada25bd22a52a4351357209a8c227070cfd406d.tar.xz linux-dada25bd22a52a4351357209a8c227070cfd406d.zip |
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.h | 4 |
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, struct drm_fb_helper *msm_fbdev_init(struct drm_device *dev); -int hdmi_init(struct drm_device *dev, struct drm_encoder *encoder); +struct hdmi; +struct hdmi *hdmi_init(struct drm_device *dev, struct drm_encoder *encoder); +irqreturn_t hdmi_irq(int irq, void *dev_id); void __init hdmi_register(void); void __exit hdmi_unregister(void); |