diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-11-24 16:33:34 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-11-26 09:40:39 +1000 |
commit | 6556f7f82b9c401950d703072c0d8137b6f9f516 (patch) | |
tree | 7432c41c5e01cb975a5a8f8aaf5fbf88021af145 /drivers/staging/imx-drm/ipuv3-plane.h | |
parent | 0364d4fef4d19bdddca9a649ea83bc4bf458324f (diff) |
drm: imx: Move imx-drm driver out of staging
The imx-drm driver was put into staging mostly for the following reasons,
all of which have been addressed or superseded:
- convert the irq driver to use linear irq domains
- work out the device tree bindings, this lead to the common of_graph
bindings being used
- factor out common helper functions, this mostly resulted in the
component framework and drm of_graph helpers.
Before adding new fixes, and certainly before adding new features,
move it into its proper place below drivers/gpu/drm.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/staging/imx-drm/ipuv3-plane.h')
-rw-r--r-- | drivers/staging/imx-drm/ipuv3-plane.h | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/drivers/staging/imx-drm/ipuv3-plane.h b/drivers/staging/imx-drm/ipuv3-plane.h deleted file mode 100644 index c0aae5bcb5d4..000000000000 --- a/drivers/staging/imx-drm/ipuv3-plane.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef __IPUV3_PLANE_H__ -#define __IPUV3_PLANE_H__ - -#include <drm/drm_crtc.h> /* drm_plane */ - -struct drm_plane; -struct drm_device; -struct ipu_soc; -struct drm_crtc; -struct drm_framebuffer; - -struct ipuv3_channel; -struct dmfc_channel; -struct ipu_dp; - -struct ipu_plane { - struct drm_plane base; - - struct ipu_soc *ipu; - struct ipuv3_channel *ipu_ch; - struct dmfc_channel *dmfc; - struct ipu_dp *dp; - - int dma; - int dp_flow; - - int x; - int y; - - bool enabled; -}; - -struct ipu_plane *ipu_plane_init(struct drm_device *dev, struct ipu_soc *ipu, - int dma, int dp, unsigned int possible_crtcs, - bool priv); - -/* Init IDMAC, DMFC, DP */ -int ipu_plane_mode_set(struct ipu_plane *plane, struct drm_crtc *crtc, - struct drm_display_mode *mode, - struct drm_framebuffer *fb, int crtc_x, int crtc_y, - unsigned int crtc_w, unsigned int crtc_h, - uint32_t src_x, uint32_t src_y, uint32_t src_w, - uint32_t src_h); - -void ipu_plane_enable(struct ipu_plane *plane); -void ipu_plane_disable(struct ipu_plane *plane); -int ipu_plane_set_base(struct ipu_plane *plane, struct drm_framebuffer *fb, - int x, int y); - -int ipu_plane_get_resources(struct ipu_plane *plane); -void ipu_plane_put_resources(struct ipu_plane *plane); - -int ipu_plane_irq(struct ipu_plane *plane); - -#endif |