Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.6.
 1/*
 2 * Copyright 2016 Linaro Ltd.
 3 * Copyright 2016 ZTE Corporation.
 4 *
 5 * This program is free software; you can redistribute it and/or modify
 6 * it under the terms of the GNU General Public License version 2 as
 7 * published by the Free Software Foundation.
 8 *
 9 */
10
11#ifndef __ZX_PLANE_H__
12#define __ZX_PLANE_H__
13
14struct zx_plane {
15	struct drm_plane plane;
16	struct device *dev;
17	void __iomem *layer;
18	void __iomem *csc;
19	void __iomem *hbsc;
20	void __iomem *rsz;
21	const struct vou_layer_bits *bits;
22};
23
24#define to_zx_plane(plane) container_of(plane, struct zx_plane, plane)
25
26int zx_plane_init(struct drm_device *drm, struct zx_plane *zplane,
27		  enum drm_plane_type type);
28void zx_plane_set_update(struct drm_plane *plane);
29
30#endif /* __ZX_PLANE_H__ */