zx_plane.h 642 B

1234567891011121314151617181920212223242526
  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. #ifndef __ZX_PLANE_H__
  11. #define __ZX_PLANE_H__
  12. struct zx_layer_data {
  13. void __iomem *layer;
  14. void __iomem *csc;
  15. void __iomem *hbsc;
  16. void __iomem *rsz;
  17. };
  18. struct drm_plane *zx_plane_init(struct drm_device *drm, struct device *dev,
  19. struct zx_layer_data *data,
  20. enum drm_plane_type type);
  21. void zx_plane_set_update(struct drm_plane *plane);
  22. #endif /* __ZX_PLANE_H__ */