.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright © 2006-2011 Intel Corporation |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify it |
---|
5 | | - * under the terms and conditions of the GNU General Public License, |
---|
6 | | - * version 2, as published by the Free Software Foundation. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
9 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
10 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
11 | | - * more details. |
---|
12 | | - * |
---|
13 | | - * You should have received a copy of the GNU General Public License along with |
---|
14 | | - * this program; if not, write to the Free Software Foundation, Inc., |
---|
15 | | - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. |
---|
16 | 4 | * |
---|
17 | 5 | * Authors: |
---|
18 | 6 | * Eric Anholt <eric@anholt.net> |
---|
.. | .. |
---|
23 | 11 | #define _GMA_DISPLAY_H_ |
---|
24 | 12 | |
---|
25 | 13 | #include <linux/pm_runtime.h> |
---|
| 14 | +#include <drm/drm_vblank.h> |
---|
| 15 | + |
---|
| 16 | +struct drm_encoder; |
---|
| 17 | +struct drm_mode_set; |
---|
26 | 18 | |
---|
27 | 19 | struct gma_clock_t { |
---|
28 | 20 | /* given values */ |
---|
.. | .. |
---|
80 | 72 | extern void gma_crtc_commit(struct drm_crtc *crtc); |
---|
81 | 73 | extern void gma_crtc_disable(struct drm_crtc *crtc); |
---|
82 | 74 | extern void gma_crtc_destroy(struct drm_crtc *crtc); |
---|
| 75 | +extern int gma_crtc_page_flip(struct drm_crtc *crtc, |
---|
| 76 | + struct drm_framebuffer *fb, |
---|
| 77 | + struct drm_pending_vblank_event *event, |
---|
| 78 | + uint32_t page_flip_flags, |
---|
| 79 | + struct drm_modeset_acquire_ctx *ctx); |
---|
83 | 80 | extern int gma_crtc_set_config(struct drm_mode_set *set, |
---|
84 | 81 | struct drm_modeset_acquire_ctx *ctx); |
---|
85 | 82 | |
---|