1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) STMicroelectronics SA 2014 4 * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics. 5 */ 6 7 #ifndef _STI_DRV_H_ 8 #define _STI_DRV_H_ 9 10 #include <drm/drmP.h> 11 12 struct sti_compositor; 13 struct sti_tvout; 14 15 /** 16 * STI drm private structure 17 * This structure is stored as private in the drm_device 18 * 19 * @compo: compositor 20 * @plane_zorder_property: z-order property for CRTC planes 21 * @drm_dev: drm device 22 */ 23 struct sti_private { 24 struct sti_compositor *compo; 25 struct drm_property *plane_zorder_property; 26 struct drm_device *drm_dev; 27 }; 28 29 extern struct platform_driver sti_tvout_driver; 30 extern struct platform_driver sti_hqvdp_driver; 31 extern struct platform_driver sti_hdmi_driver; 32 extern struct platform_driver sti_hda_driver; 33 extern struct platform_driver sti_dvo_driver; 34 extern struct platform_driver sti_vtg_driver; 35 extern struct platform_driver sti_compositor_driver; 36 37 #endif 38