1*caab277bSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 2b5561412SLaurent Pinchart /* 3b5561412SLaurent Pinchart * omap_crtc.h -- OMAP DRM CRTC 4b5561412SLaurent Pinchart * 5b5561412SLaurent Pinchart * Copyright (C) 2011 Texas Instruments 6b5561412SLaurent Pinchart * Author: Rob Clark <rob@ti.com> 7b5561412SLaurent Pinchart */ 8b5561412SLaurent Pinchart 9b5561412SLaurent Pinchart #ifndef __OMAPDRM_CRTC_H__ 10b5561412SLaurent Pinchart #define __OMAPDRM_CRTC_H__ 11b5561412SLaurent Pinchart 12b5561412SLaurent Pinchart #include <linux/types.h> 13b5561412SLaurent Pinchart 14b5561412SLaurent Pinchart enum omap_channel; 15b5561412SLaurent Pinchart 16b5561412SLaurent Pinchart struct drm_crtc; 17b5561412SLaurent Pinchart struct drm_device; 18b5561412SLaurent Pinchart struct drm_plane; 1900b30e79SLaurent Pinchart struct omap_drm_pipeline; 20b5561412SLaurent Pinchart struct omap_dss_device; 21b5561412SLaurent Pinchart struct videomode; 22b5561412SLaurent Pinchart 23b5561412SLaurent Pinchart struct videomode *omap_crtc_timings(struct drm_crtc *crtc); 24b5561412SLaurent Pinchart enum omap_channel omap_crtc_channel(struct drm_crtc *crtc); 25b5561412SLaurent Pinchart struct drm_crtc *omap_crtc_init(struct drm_device *dev, 2600b30e79SLaurent Pinchart struct omap_drm_pipeline *pipe, 2700b30e79SLaurent Pinchart struct drm_plane *plane); 28b5561412SLaurent Pinchart int omap_crtc_wait_pending(struct drm_crtc *crtc); 29dfe9cfccSLaurent Pinchart void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus); 30b5561412SLaurent Pinchart void omap_crtc_vblank_irq(struct drm_crtc *crtc); 3147103a80SSebastian Reichel void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus); 321bb418bfSSebastian Reichel void omap_crtc_flush(struct drm_crtc *crtc); 33b5561412SLaurent Pinchart 34b5561412SLaurent Pinchart #endif /* __OMAPDRM_CRTC_H__ */ 35