blob: 3566e0eba0360f2c21b12e5ce8a2669217e6fe3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*
* Xilinx DRM crtc header for Xilinx
*
* Copyright (C) 2013 Xilinx, Inc.
*
* Author: Hyun Woo Kwon <hyunk@xilinx.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _XILINX_DRM_CRTC_H_
#define _XILINX_DRM_CRTC_H_
struct drm_device;
struct drm_crtc;
void xilinx_drm_crtc_enable_vblank(struct drm_crtc *base_crtc);
void xilinx_drm_crtc_disable_vblank(struct drm_crtc *base_crtc);
void xilinx_drm_crtc_cancel_page_flip(struct drm_crtc *base_crtc,
struct drm_file *file);
void xilinx_drm_crtc_restore(struct drm_crtc *base_crtc);
unsigned int xilinx_drm_crtc_get_max_width(struct drm_crtc *base_crtc);
bool xilinx_drm_crtc_check_format(struct drm_crtc *base_crtc, uint32_t fourcc);
uint32_t xilinx_drm_crtc_get_format(struct drm_crtc *base_crtc);
unsigned int xilinx_drm_crtc_get_align(struct drm_crtc *base_crtc);
struct drm_crtc *xilinx_drm_crtc_create(struct drm_device *drm);
void xilinx_drm_crtc_destroy(struct drm_crtc *base_crtc);
#endif /* _XILINX_DRM_CRTC_H_ */
|