Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (C) STMicroelectronics SA 2014
0004  * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
0005  */
0006 
0007 #ifndef _STI_CRTC_H_
0008 #define _STI_CRTC_H_
0009 
0010 struct drm_crtc;
0011 struct drm_device;
0012 struct drm_plane;
0013 struct notifier_block;
0014 struct sti_mixer;
0015 
0016 int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer,
0017           struct drm_plane *primary, struct drm_plane *cursor);
0018 int sti_crtc_vblank_cb(struct notifier_block *nb,
0019                unsigned long event, void *data);
0020 bool sti_crtc_is_main(struct drm_crtc *drm_crtc);
0021 
0022 #endif