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_DRV_H_
0008 #define _STI_DRV_H_
0009 
0010 #include <linux/platform_device.h>
0011 
0012 struct drm_device;
0013 struct drm_property;
0014 struct sti_compositor;
0015 
0016 /**
0017  * STI drm private structure
0018  * This structure is stored as private in the drm_device
0019  *
0020  * @compo:                 compositor
0021  * @plane_zorder_property: z-order property for CRTC planes
0022  * @drm_dev:               drm device
0023  */
0024 struct sti_private {
0025     struct sti_compositor *compo;
0026     struct drm_property *plane_zorder_property;
0027     struct drm_device *drm_dev;
0028 };
0029 
0030 extern struct platform_driver sti_tvout_driver;
0031 extern struct platform_driver sti_hqvdp_driver;
0032 extern struct platform_driver sti_hdmi_driver;
0033 extern struct platform_driver sti_hda_driver;
0034 extern struct platform_driver sti_dvo_driver;
0035 extern struct platform_driver sti_vtg_driver;
0036 extern struct platform_driver sti_compositor_driver;
0037 
0038 #endif