aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-drm-core.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-08-15 02:41:45 -0400
committerDave Airlie <airlied@redhat.com>2016-08-15 02:41:45 -0400
commita02b5a155e21b6d324045eca2e30e93f4ff4c51c (patch)
tree149f949925fd0bbc020a4189c5b33979ee23c585 /drivers/gpu/drm/imx/imx-drm-core.c
parentc13eb9315f80f4b4cc0cbaad8c57068b2665e1f9 (diff)
parentdc80d7038883feca2abd08975165bc0d83c84762 (diff)
Merge tag 'imx-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux into drm-next
imx-drm updates and encoder atomic_mode_set helper callback - add pixel clock and DE polarity configuration from device tree using display timing bindings for parallel and LVDS output - cleanup/remove trivial functions - cleanup and fixes in preparation for capture support - add atomic_mode_set helper and use it in imx-ldb - this is an alternative to the encoder mode_set callback that passes the crtc and connector state instead of just the mode. It allows drivers to get information from the attached connector without having to iterate over all connectors - add drm_bridge support to imx-ldb, for bridges attached via LVDS * tag 'imx-drm-next-2016-08-12' of git://git.pengutronix.de/git/pza/linux: drm/imx-ldb: Add support to drm-bridge drm/imx: imx-ldb: use encoder atomic_mode_set callback drm/atomic-helper: Add atomic_mode_set helper callback drm/imx: Remove imx_drm_handle_vblank() gpu: ipu-v3: Add missing IDMAC channel names gpu: ipu-v3: rename CSI client device gpu: ipu-v3: Fix IRT usage gpu: ipu-v3: Fix CSI data format for 16-bit media bus formats gpu: ipu-v3: set correct full sensor frame for PAL/NTSC gpu: ipu-v3: Add VDI input IDMAC channels gpu: ipu-v3: Add ipu_get_num() gpu: ipu-cpmem: Add ipu_cpmem_get_burstsize() gpu: ipu-cpmem: Add ipu_cpmem_set_uv_offset() drm/imx: Remove imx_drm_crtc_id() drm/imx: Remove imx_drm_crtc_vblank_get/_put() drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver drm: add a helper function to extract 'de-active' and 'pixelclk-active' from DT
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r--drivers/gpu/drm/imx/imx-drm-core.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index 9f7dafce3a4c..6dc0ef4cc677 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -58,12 +58,6 @@ static int legacyfb_depth = 16;
58module_param(legacyfb_depth, int, 0444); 58module_param(legacyfb_depth, int, 0444);
59#endif 59#endif
60 60
61unsigned int imx_drm_crtc_id(struct imx_drm_crtc *crtc)
62{
63 return drm_crtc_index(crtc->crtc);
64}
65EXPORT_SYMBOL_GPL(imx_drm_crtc_id);
66
67static void imx_drm_driver_lastclose(struct drm_device *drm) 61static void imx_drm_driver_lastclose(struct drm_device *drm)
68{ 62{
69 struct imx_drm_device *imxdrm = drm->dev_private; 63 struct imx_drm_device *imxdrm = drm->dev_private;
@@ -90,24 +84,6 @@ static int imx_drm_driver_unload(struct drm_device *drm)
90 return 0; 84 return 0;
91} 85}
92 86
93int imx_drm_crtc_vblank_get(struct imx_drm_crtc *imx_drm_crtc)
94{
95 return drm_crtc_vblank_get(imx_drm_crtc->crtc);
96}
97EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_get);
98
99void imx_drm_crtc_vblank_put(struct imx_drm_crtc *imx_drm_crtc)
100{
101 drm_crtc_vblank_put(imx_drm_crtc->crtc);
102}
103EXPORT_SYMBOL_GPL(imx_drm_crtc_vblank_put);
104
105void imx_drm_handle_vblank(struct imx_drm_crtc *imx_drm_crtc)
106{
107 drm_crtc_handle_vblank(imx_drm_crtc->crtc);
108}
109EXPORT_SYMBOL_GPL(imx_drm_handle_vblank);
110
111static int imx_drm_enable_vblank(struct drm_device *drm, unsigned int pipe) 87static int imx_drm_enable_vblank(struct drm_device *drm, unsigned int pipe)
112{ 88{
113 struct imx_drm_device *imxdrm = drm->dev_private; 89 struct imx_drm_device *imxdrm = drm->dev_private;