summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/imx/dcss/dcss-plane.h
blob: c607551f39279d33ba3943a404078c1e7a5b24e3 (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
#ifndef __DCSS_PLANE_H__
#define __DCSS_PLANE_H__

#include <drm/drm_crtc.h>

struct dcss_plane {
	struct drm_plane base;
	struct dcss_soc *dcss;

	int alpha_val;
	struct drm_property *alpha_prop;

	int use_global_val;
	struct drm_property *use_global_prop;

	uint64_t dtrc_table_ofs_val;
	struct drm_property *dtrc_table_ofs_prop;

	int ch_num;
};

struct dcss_plane *dcss_plane_init(struct drm_device *drm,
				   struct dcss_soc *dcss,
				   unsigned int possible_crtcs,
				   enum drm_plane_type type,
				   unsigned int zpos);

#endif /* __DCSS_PLANE_H__ */