linux/drivers/gpu/drm/zte/zx_plane.h
<<
>>
Prefs
   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_layer_data {
  15        void __iomem *layer;
  16        void __iomem *csc;
  17        void __iomem *hbsc;
  18        void __iomem *rsz;
  19};
  20
  21struct drm_plane *zx_plane_init(struct drm_device *drm, struct device *dev,
  22                                struct zx_layer_data *data,
  23                                enum drm_plane_type type);
  24void zx_plane_set_update(struct drm_plane *plane);
  25
  26#endif /* __ZX_PLANE_H__ */
  27