Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / drivers / gpu / drm / zte / zx_plane.h
blob933611ddffd0d20412e5ba590a5f3332b259d047
1 /*
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.
9 */
11 #ifndef __ZX_PLANE_H__
12 #define __ZX_PLANE_H__
14 struct 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;
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__ */