浏览代码

drm: rcar-du: Document the rcar_du_plane_state structure

Document the structure fields using kerneldoc.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Laurent Pinchart 10 年之前
父节点
当前提交
0855c6827f
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      drivers/gpu/drm/rcar-du/rcar_du_plane.h

+ 10 - 1
drivers/gpu/drm/rcar-du/rcar_du_plane.h

@@ -46,11 +46,20 @@ struct rcar_du_planes {
 	struct drm_property *zpos;
 	struct drm_property *zpos;
 };
 };
 
 
+/**
+ * struct rcar_du_plane_state - Driver-specific plane state
+ * @state: base DRM plane state
+ * @format: information about the pixel format used by the plane
+ * @hwindex: 0-based hardware plane index, -1 means unused
+ * @alpha: value of the plane alpha property
+ * @colorkey: value of the plane colorkey property
+ * @zpos: value of the plane zpos property
+ */
 struct rcar_du_plane_state {
 struct rcar_du_plane_state {
 	struct drm_plane_state state;
 	struct drm_plane_state state;
 
 
 	const struct rcar_du_format_info *format;
 	const struct rcar_du_format_info *format;
-	int hwindex;		/* 0-based, -1 means unused */
+	int hwindex;
 
 
 	unsigned int alpha;
 	unsigned int alpha;
 	unsigned int colorkey;
 	unsigned int colorkey;