diff options
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm.h')
-rw-r--r-- | drivers/gpu/drm/imx/imx-drm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm.h b/drivers/gpu/drm/imx/imx-drm.h index 5a91cb16c8fa..487189b42922 100644 --- a/drivers/gpu/drm/imx/imx-drm.h +++ b/drivers/gpu/drm/imx/imx-drm.h @@ -1,6 +1,8 @@ #ifndef _IMX_DRM_H_ #define _IMX_DRM_H_ +#define MAX_CRTC 4 + struct device_node; struct drm_crtc; struct drm_connector; @@ -13,6 +15,14 @@ struct drm_plane; struct imx_drm_crtc; struct platform_device; +struct imx_drm_device { + struct drm_device *drm; + struct imx_drm_crtc *crtc[MAX_CRTC]; + unsigned int pipes; + struct drm_fbdev_cma *fbhelper; + struct drm_atomic_state *state; +}; + struct imx_crtc_state { struct drm_crtc_state base; u32 bus_format; |