public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: vsp1: Document vsp1_dl_body refcnt
@ 2018-05-28 10:24 Kieran Bingham
  2018-05-29  8:43 ` Simon Horman
  2018-05-29 12:32 ` Laurent Pinchart
  0 siblings, 2 replies; 3+ messages in thread
From: Kieran Bingham @ 2018-05-28 10:24 UTC (permalink / raw)
  To: mchehab, linux-media, Laurent Pinchart; +Cc: linux-renesas-soc, Kieran Bingham

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(+)

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
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: vsp1: Document vsp1_dl_body refcnt
  2018-05-28 10:24 [PATCH] media: vsp1: Document vsp1_dl_body refcnt Kieran Bingham
@ 2018-05-29  8:43 ` Simon Horman
  2018-05-29 12:32 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2018-05-29  8:43 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: mchehab, linux-media, Laurent Pinchart, linux-renesas-soc

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] media: vsp1: Document vsp1_dl_body refcnt
  2018-05-28 10:24 [PATCH] media: vsp1: Document vsp1_dl_body refcnt Kieran Bingham
  2018-05-29  8:43 ` Simon Horman
@ 2018-05-29 12:32 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2018-05-29 12:32 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: mchehab, linux-media, linux-renesas-soc

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


-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-29 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 10:24 [PATCH] media: vsp1: Document vsp1_dl_body refcnt Kieran Bingham
2018-05-29  8:43 ` Simon Horman
2018-05-29 12:32 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox