hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/gpu/drm/omapdrm/omap_crtc.h
....@@ -1,20 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * omap_crtc.h -- OMAP DRM CRTC
34 *
45 * Copyright (C) 2011 Texas Instruments
56 * Author: Rob Clark <rob@ti.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License version 2 as published by
9
- * the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful, but WITHOUT
12
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
- * more details.
15
- *
16
- * You should have received a copy of the GNU General Public License along with
17
- * this program. If not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef __OMAPDRM_CRTC_H__
....@@ -27,17 +16,21 @@
2716 struct drm_crtc;
2817 struct drm_device;
2918 struct drm_plane;
19
+struct omap_drm_pipeline;
3020 struct omap_dss_device;
3121 struct videomode;
3222
3323 struct videomode *omap_crtc_timings(struct drm_crtc *crtc);
3424 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc);
3525 void omap_crtc_pre_init(struct omap_drm_private *priv);
36
-void omap_crtc_pre_uninit(void);
26
+void omap_crtc_pre_uninit(struct omap_drm_private *priv);
3727 struct drm_crtc *omap_crtc_init(struct drm_device *dev,
38
- struct drm_plane *plane, struct omap_dss_device *dssdev);
28
+ struct omap_drm_pipeline *pipe,
29
+ struct drm_plane *plane);
3930 int omap_crtc_wait_pending(struct drm_crtc *crtc);
4031 void omap_crtc_error_irq(struct drm_crtc *crtc, u32 irqstatus);
4132 void omap_crtc_vblank_irq(struct drm_crtc *crtc);
33
+void omap_crtc_framedone_irq(struct drm_crtc *crtc, uint32_t irqstatus);
34
+void omap_crtc_flush(struct drm_crtc *crtc);
4235
4336 #endif /* __OMAPDRM_CRTC_H__ */