Linux Audio

Check our new training course

Loading...
v4.6
 
 1/*
 2 * Copyright (C) STMicroelectronics SA 2014
 3 * Author: Benjamin Gaignard <benjamin.gaignard@st.com> for STMicroelectronics.
 4 * License terms:  GNU General Public License (GPL), version 2
 5 */
 6
 7#ifndef _STI_DRV_H_
 8#define _STI_DRV_H_
 9
10#include <drm/drmP.h>
11
 
 
12struct sti_compositor;
13struct 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 */
23struct sti_private {
24	struct sti_compositor *compo;
25	struct drm_property *plane_zorder_property;
26	struct drm_device *drm_dev;
27
28	struct {
29		struct drm_atomic_state *state;
30		struct work_struct work;
31		struct mutex lock;
32	} commit;
33};
34
35extern struct platform_driver sti_tvout_driver;
36extern struct platform_driver sti_vtac_driver;
37extern struct platform_driver sti_hqvdp_driver;
38extern struct platform_driver sti_hdmi_driver;
39extern struct platform_driver sti_hda_driver;
40extern struct platform_driver sti_dvo_driver;
41extern struct platform_driver sti_vtg_driver;
42extern struct platform_driver sti_compositor_driver;
43
44#endif
v6.2
 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 <linux/platform_device.h>
11
12struct drm_device;
13struct drm_property;
14struct sti_compositor;
 
15
16/**
17 * STI drm private structure
18 * This structure is stored as private in the drm_device
19 *
20 * @compo:                 compositor
21 * @plane_zorder_property: z-order property for CRTC planes
22 * @drm_dev:               drm device
23 */
24struct sti_private {
25	struct sti_compositor *compo;
26	struct drm_property *plane_zorder_property;
27	struct drm_device *drm_dev;
 
 
 
 
 
 
28};
29
30extern struct platform_driver sti_tvout_driver;
 
31extern struct platform_driver sti_hqvdp_driver;
32extern struct platform_driver sti_hdmi_driver;
33extern struct platform_driver sti_hda_driver;
34extern struct platform_driver sti_dvo_driver;
35extern struct platform_driver sti_vtg_driver;
36extern struct platform_driver sti_compositor_driver;
37
38#endif