Skip to content

Commit

Permalink
media: v4l: vsp1: Document the vsp1_du_atomic_config structure
Browse files Browse the repository at this point in the history
The structure is used in the API that the VSP1 driver exposes to the DU
driver. Documenting it is thus important.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed May 17, 2018
1 parent 3d7899c commit 0d93d5c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/media/vsp1.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ struct vsp1_du_lif_config {
int vsp1_du_setup_lif(struct device *dev, unsigned int pipe_index,
const struct vsp1_du_lif_config *cfg);

/**
* struct vsp1_du_atomic_config - VSP atomic configuration parameters
* @pixelformat: plane pixel format (V4L2 4CC)
* @pitch: line pitch in bytes, for all planes
* @mem: DMA memory address for each plane of the frame buffer
* @src: source rectangle in the frame buffer (integer coordinates)
* @dst: destination rectangle on the display (integer coordinates)
* @alpha: alpha value (0: fully transparent, 255: fully opaque)
* @zpos: Z position of the plane (from 0 to number of planes minus 1)
*/
struct vsp1_du_atomic_config {
u32 pixelformat;
unsigned int pitch;
Expand Down

0 comments on commit 0d93d5c

Please sign in to comment.