[media] Schedule the selections API compatibility definitions for removal
Commit Message
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
---
Documentation/feature-removal-schedule.txt | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
Comments
On 06/25/2012 06:51 PM, Sylwester Nawrocki wrote:
> Signed-off-by: Sylwester Nawrocki<sylvester.nawrocki@gmail.com>
> ---
Hi Sakari,
Let me add an explanation that was supposed to be originally included
in that patch..
Here is the patch for Documentation/feature-removal-schedule.txt that
is mentioned in the description of the first patch in this series.
This change set looks good to me, except there seem to be missing
compatibility definitions for the selections flags. I presume we
are going to need those since the original subdev selections API
will exist in v3.5 kernels, and this change set is going to be
applied only to v3.6.
So something like that might be needed:
#define V4L2_SUBDEV_SEL_FLAG_SIZE_GE V4L2_SEL_FLAG_SIZE_GE
#define V4L2_SUBDEV_SEL_FLAG_SIZE_LE V4L2_SEL_FLAG_SIZE_LE
#define V4L2_SUBDEV_SEL_FLAG_KEEP_CONFIG V4L2_SEL_FLAG_KEEP_CONFIG
After adding that this series seems good for merging to me.
Thanks and regards,
Sylwester
> Documentation/feature-removal-schedule.txt | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> index 09701af..ef9f942 100644
> --- a/Documentation/feature-removal-schedule.txt
> +++ b/Documentation/feature-removal-schedule.txt
> @@ -558,3 +558,18 @@ Why: The V4L2_CID_VCENTER, V4L2_CID_HCENTER controls have been deprecated
> There are newer controls (V4L2_CID_PAN*, V4L2_CID_TILT*) that provide
> similar functionality.
> Who: Sylwester Nawrocki<sylvester.nawrocki@gmail.com>
> +
> +----------------------------
> +
> +What: Remove the backward compatibility V4L2 selections target and selections
> + flags definitions
> +When: 3.8
> +Why: The regular V4L2 selections and the subdev selection API originally
> + defined distinct names for the target rectangles and flags - V4L2_SEL_*
> + and V4L2_SUBDEV_SEL_*. Although, it turned out that the meaning of these
> + target rectangles is virtually identical and the APIs were consolidated
> + to use single set of names - V4L2_SEL_*. This consolidation didn't
> + change the ABI in any way. Alias definitions were created for the
> + original ones to avoid any instabilities in the user space interface.
> + After few cycles these comptibility definitions will be removed.
> +Who: Sylwester Nawrocki<sylvester.nawrocki@gmail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
@@ -558,3 +558,18 @@ Why: The V4L2_CID_VCENTER, V4L2_CID_HCENTER controls have been deprecated
There are newer controls (V4L2_CID_PAN*, V4L2_CID_TILT*) that provide
similar functionality.
Who: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
+
+----------------------------
+
+What: Remove the backward compatibility V4L2 selections target and selections
+ flags definitions
+When: 3.8
+Why: The regular V4L2 selections and the subdev selection API originally
+ defined distinct names for the target rectangles and flags - V4L2_SEL_*
+ and V4L2_SUBDEV_SEL_*. Although, it turned out that the meaning of these
+ target rectangles is virtually identical and the APIs were consolidated
+ to use single set of names - V4L2_SEL_*. This consolidation didn't
+ change the ABI in any way. Alias definitions were created for the
+ original ones to avoid any instabilities in the user space interface.
+ After few cycles these comptibility definitions will be removed.
+Who: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>