summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-04-29 00:12:40 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-05-25 15:34:10 +0300
commit0855c6827f822b51b2b4fc86d1085f47463cb5c9 (patch)
tree32aaa693091824acd14cf6489581f659ce8686e8 /drivers/gpu/drm/rcar-du
parentbce9936a0d7f6570aaa64a41e6ff902716aabfa6 (diff)
downloadblackbird-op-linux-0855c6827f822b51b2b4fc86d1085f47463cb5c9.tar.gz
blackbird-op-linux-0855c6827f822b51b2b4fc86d1085f47463cb5c9.zip
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>
Diffstat (limited to 'drivers/gpu/drm/rcar-du')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_plane.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_plane.h b/drivers/gpu/drm/rcar-du/rcar_du_plane.h
index abff0ebeb195..2beb67acdb38 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_plane.h
+++ b/drivers/gpu/drm/rcar-du/rcar_du_plane.h
@@ -46,11 +46,20 @@ struct rcar_du_planes {
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 drm_plane_state state;
const struct rcar_du_format_info *format;
- int hwindex; /* 0-based, -1 means unused */
+ int hwindex;
unsigned int alpha;
unsigned int colorkey;
OpenPOWER on IntegriCloud