/* * vsp1_drm.h -- R-Car VSP1 DRM/KMS Interface * * Copyright (C) 2015 Renesas Electronics Corporation * * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __VSP1_DRM_H__ #define __VSP1_DRM_H__ #include <linux/videodev2.h> #include "vsp1_pipe.h" /** * vsp1_drm - State for the API exposed to the DRM driver * @pipe: the VSP1 pipeline used for display * @num_inputs: number of active pipeline inputs at the beginning of an update * @inputs: source crop rectangle, destination compose rectangle and z-order * position for every input * @du_complete: frame completion callback for the DU driver (optional) * @du_private: data to be passed to the du_complete callback */ struct vsp1_drm { struct vsp1_pipeline pipe; unsigned int num_inputs; struct { bool enabled; struct v4l2_rect crop; struct v4l2_rect compose; unsigned int zpos; } inputs[VSP1_MAX_RPF]; /* Frame synchronisation */ void (*du_complete)(void *); void *du_private; };
static inline struct vsp1_drm *to_vsp1_drm(struct vsp1_pipeline *pipe) { return container_of(pipe, struct vsp1_drm, pipe); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Kieran Bingham | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Laurent Pinchart | 79 | 61.24% | 5 | 71.43% |
Kieran Bingham | 41 | 31.78% | 1 | 14.29% |
Takashi Saito | 9 | 6.98% | 1 | 14.29% |
Total | 129 | 100.00% | 7 | 100.00% |