162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * omap_crtc.h -- OMAP DRM CRTC 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (C) 2011 Texas Instruments 662306a36Sopenharmony_ci * Author: Rob Clark <rob@ti.com> 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#ifndef __OMAPDRM_CRTC_H__ 1062306a36Sopenharmony_ci#define __OMAPDRM_CRTC_H__ 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#include <linux/types.h> 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_cienum omap_channel; 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_cistruct drm_crtc; 1762306a36Sopenharmony_cistruct drm_device; 1862306a36Sopenharmony_cistruct drm_plane; 1962306a36Sopenharmony_cistruct omap_drm_pipeline; 2062306a36Sopenharmony_cistruct omap_dss_device; 2162306a36Sopenharmony_cistruct videomode; 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_cistruct videomode *omap_crtc_timings(struct drm_crtc *crtc); 2462306a36Sopenharmony_cienum omap_channel omap_crtc_channel(struct drm_crtc *crtc); 2562306a36Sopenharmony_cistruct drm_crtc *omap_crtc_init(struct drm_device *dev, 2662306a36Sopenharmony_ci struct omap_drm_pipeline *pipe, 2762306a36Sopenharmony_ci struct drm_plane *plane); 2862306a36Sopenharmony_ciint omap_crtc_wait_pending(struct drm_crtc *crtc); 2962306a36Sopenharmony_civoid omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus); 3062306a36Sopenharmony_civoid omap_crtc_vblank_irq(struct drm_crtc *crtc); 3162306a36Sopenharmony_civoid omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus); 3262306a36Sopenharmony_civoid omap_crtc_flush(struct drm_crtc *crtc); 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci#endif /* __OMAPDRM_CRTC_H__ */ 35