Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * omap_crtc.h -- OMAP DRM CRTC
0004  *
0005  * Copyright (C) 2011 Texas Instruments
0006  * Author: Rob Clark <rob@ti.com>
0007  */
0008 
0009 #ifndef __OMAPDRM_CRTC_H__
0010 #define __OMAPDRM_CRTC_H__
0011 
0012 #include <linux/types.h>
0013 
0014 enum omap_channel;
0015 
0016 struct drm_crtc;
0017 struct drm_device;
0018 struct drm_plane;
0019 struct omap_drm_pipeline;
0020 struct omap_dss_device;
0021 struct videomode;
0022 
0023 struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
0024 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
0025 struct drm_crtc *omap_crtc_init(struct drm_device *dev,
0026                 struct omap_drm_pipeline *pipe,
0027                 struct drm_plane *plane);
0028 int omap_crtc_wait_pending(struct drm_crtc *crtc);
0029 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
0030 void omap_crtc_vblank_irq(struct drm_crtc *crtc);
0031 void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
0032 void omap_crtc_flush(struct drm_crtc *crtc);
0033 
0034 #endif /* __OMAPDRM_CRTC_H__ */