From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org, hverkuil@xs4all.nl,
snjw23@gmail.com, t.stanislaws@samsung.com
Subject: Re: [PATCH v4 7/7] v4l: Correct conflicting V4L2 subdev selection API documentation
Date: Fri, 15 Jun 2012 16:14:21 +0200 [thread overview]
Message-ID: <1580520.TYuvdPHuRK@avalon> (raw)
In-Reply-To: <1339767880-8412-7-git-send-email-sakari.ailus@iki.fi>
Hi Sakari,
Thanks for the patch.
On Friday 15 June 2012 16:44:40 Sakari Ailus wrote:
> The API reference documents that the KEEP_CONFIG flag tells the
> configuration should not be propatgated by the driver whereas the interface
s/propatgated/propagated/
> documentation (dev-subdev.xml) categorically prohibited any changes to the
> rest of the pipeline. The latter makes no sense, since it would severely
> limit the usefulness of the KEEP_CONFIG flag.
>
> Correct the documentation in dev-subddev.xml.
>
> Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
> ---
> Documentation/DocBook/media/v4l/dev-subdev.xml | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/DocBook/media/v4l/dev-subdev.xml
> b/Documentation/DocBook/media/v4l/dev-subdev.xml index 8c44b3f..95ebf87
> 100644
> --- a/Documentation/DocBook/media/v4l/dev-subdev.xml
> +++ b/Documentation/DocBook/media/v4l/dev-subdev.xml
> @@ -361,11 +361,11 @@
> performed by the user: the changes made will be propagated to
> any subsequent stages. If this behaviour is not desired, the
> user must set
> - <constant>V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG</constant> flag. This
> - flag causes no propagation of the changes are allowed in any
> - circumstances. This may also cause the accessed rectangle to be
> - adjusted by the driver, depending on the properties of the
> - underlying hardware.</para>
> + <constant>V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG</constant> flag,
This should be V4L2_SEL_FLAG_KEEP_CONFIG.
> + which tells the driver to make minimum changes to the rest of
> + the subdev's configuration.
I'm not sure to like this. "minimum changes" is not clearly defined. Isn't the
point of the KEEP_CONFIG flag is to avoid propagating *any* change down the
pipeline inside the subdev ?
> This may also cause the accessed
> + rectangle to be adjusted by the driver, depending on the
> + properties of the underlying hardware.</para>
>
> <para>The coordinates to a step always refer to the actual size
> of the previous step. The exception to this rule is the source
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2012-06-15 14:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 13:44 [PATCH v4 0/7] V4L2 and V4L2 subdev selection target and flag changes Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 1/7] V4L: Remove "_ACTIVE" from the selection target name definitions Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 2/7] v4l: Remove "_ACTUAL" from subdev selection API target definition names Sakari Ailus
2012-06-15 13:55 ` Laurent Pinchart
2012-06-15 17:30 ` Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 3/7] v4l: Unify selection targets across V4L2 and V4L2 subdev interfaces Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 4/7] v4l: Common documentation for selection targets Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 5/7] v4l: Unify selection flags Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 6/7] v4l: Unify selection flags documentation Sakari Ailus
2012-06-15 13:44 ` [PATCH v4 7/7] v4l: Correct conflicting V4L2 subdev selection API documentation Sakari Ailus
2012-06-15 14:14 ` Laurent Pinchart [this message]
2012-06-15 15:31 ` Sakari Ailus
2012-06-15 17:28 ` Laurent Pinchart
2012-06-15 17:48 ` Sakari Ailus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1580520.TYuvdPHuRK@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
--cc=snjw23@gmail.com \
--cc=t.stanislaws@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.