2 * Copyright 2016 Linaro Ltd.
3 * Copyright 2016 ZTE Corporation.
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.
11 #ifndef __ZX_PLANE_H__
12 #define __ZX_PLANE_H__
15 struct drm_plane plane;
21 const struct vou_layer_bits *bits;
24 #define to_zx_plane(plane) container_of(plane, struct zx_plane, plane)
26 int zx_plane_init(struct drm_device *drm, struct zx_plane *zplane,
27 enum drm_plane_type type);
28 void zx_plane_set_update(struct drm_plane *plane);
30 #endif /* __ZX_PLANE_H__ */