media: vsp1: Document vsp1_dl_body refcnt
Commit Message
In commit 2d9445db0ee9 ("media: vsp1: Use reference counting for
bodies"), a new field was introduced to the vsp1_dl_body structure to
account for usage tracking of the body.
Document the newly added field in the kerneldoc.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
drivers/media/platform/vsp1/vsp1_dl.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, May 28, 2018 at 11:24:20AM +0100, Kieran Bingham wrote:
> In commit 2d9445db0ee9 ("media: vsp1: Use reference counting for
> bodies"), a new field was introduced to the vsp1_dl_body structure to
> account for usage tracking of the body.
>
> Document the newly added field in the kerneldoc.
>
> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Hi Kieran,
Thank you for the patch.
On Monday, 28 May 2018 13:24:20 EEST Kieran Bingham wrote:
> In commit 2d9445db0ee9 ("media: vsp1: Use reference counting for
> bodies"), a new field was introduced to the vsp1_dl_body structure to
> account for usage tracking of the body.
>
> Document the newly added field in the kerneldoc.
>
> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
and taken in my tree for v4.19.
> ---
> drivers/media/platform/vsp1/vsp1_dl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/platform/vsp1/vsp1_dl.c
> b/drivers/media/platform/vsp1/vsp1_dl.c index d9b9cdd8fbe2..10a24bde2299
> 100644
> --- a/drivers/media/platform/vsp1/vsp1_dl.c
> +++ b/drivers/media/platform/vsp1/vsp1_dl.c
> @@ -43,6 +43,7 @@ struct vsp1_dl_entry {
> * struct vsp1_dl_body - Display list body
> * @list: entry in the display list list of bodies
> * @free: entry in the pool free body list
> + * @refcnt: reference tracking for the body
> * @pool: pool to which this body belongs
> * @vsp1: the VSP1 device
> * @entries: array of entries
@@ -43,6 +43,7 @@ struct vsp1_dl_entry {
* struct vsp1_dl_body - Display list body
* @list: entry in the display list list of bodies
* @free: entry in the pool free body list
+ * @refcnt: reference tracking for the body
* @pool: pool to which this body belongs
* @vsp1: the VSP1 device
* @entries: array of entries