From: Tomasz Stanislawski <t.stanislaws@samsung.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org,
Prabhakar Lad <prabhakar.csengg@gmail.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Scott Jiang <scott.jiang.linux@gmail.com>
Subject: Re: [RFC PATCH 00/18] Remove DV_PRESET API
Date: Fri, 01 Mar 2013 12:01:09 +0100 [thread overview]
Message-ID: <51308A75.4040300@samsung.com> (raw)
In-Reply-To: <1361006901-16103-1-git-send-email-hverkuil@xs4all.nl>
Hi Hans,
Thank you for the patches.
I applied the patchset on the top of SPRC's 3.8-rc4 kernel.
I tested the s5p-tv dv-timings using 0.9.3 using v4l-utils.
The test platform was Universal C210 (based on Exynos 4210 SoC).
Every timing mode worked correctly so do not hesitate to add:
Tested-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
to all s5p-tv related patches.
I tested following features:
a) v4l2-ctl --list-dv-timings
Result: got 10 timings entries as expected
b) v4l2-ctl --get-dv-timings-cap
Result: got timings caps. The was minor issue. Minimal with is 720 not 640.
c) for each available timing
v4l2-ctl --set-dv-bt-timings=index={index}
v4l2-ctl --get-dv-bt-timings
Show test image on the screen
Result: TV detected correct timings for all cases
I found some minor issues in the patches.
Please refer to the inlined comments.
BTW.
The v4l2-ctl reports that fps for 1080i50 and 1080i60 as 25 and 30 respectively.
I agree that those values correctly reflects relation between
image resolution and the pixel rate.
However, I admit it looks a little bit confusing when suddenly 50 changes into 25.
It should clarified if F in FPS stands for "frame" or "field".
Regards,
Tomasz Stanislawski
On 02/16/2013 10:28 AM, Hans Verkuil wrote:
> Hi all!
>
> This patch series removes the last remnants of the deprecated DV_PRESET API
> from the kernel:
>
> - remove the dv_preset ops from the tvp7002 driver: all bridge drivers that
> use this i2c driver have already been converted to the DV_TIMINGS API, so
> these ops are no longer used. Prabhakar, can you test this for me?
>
> - fix some remaining references to the preset API from the davinci drivers.
> It's trivial stuff, but I would appreciate it if you can look at it,
> Prabhakar.
>
> - rename some CUSTOM_TIMINGS defines to DV_TIMINGS since CUSTOM_TIMINGS
> is deprecated. It certainly shouldn't be used anymore in the kernel.
> Trivial patches, but please look at it as well, Prabhakar and Scott.
>
> - convert the s5p-tv drivers from the DV_PRESET to the DV_TIMINGS API and
> remove the DV_PRESET API. Tomasz or Kyungmin Park, can you test this?
> I do not know whether removal of the DV_PRESET API is possible at this
> stage for the s5p-tv since I do not know if any code inside Samsung
> uses the DV_PRESET API. If the DV_PRESET API cannot be removed at this
> time, then let me know. I would have to make some changes to allow the
> preset and timings APIs to co-exist. I would really like to remove the
> preset API some time this year, though, if only to prevent new drivers
> from attempting to use the preset API.
>
> - finally remove the remaining core DV_PRESET support.
>
> - remove the DV_PRESET API from the videodev2.h header. Note that I am not
> at all certain if we should do this. I know that the DV_PRESET API has
> only been used in embedded systems, so the impact should be very limited.
> But it is probably better to wait for a year or so before actually
> removing it from the header. The main reason for adding this removal is
> to verify that I haven't forgotten any driver conversions.
>
> Comments are welcome!
>
> Regards,
>
> Hans
>
next prev parent reply other threads:[~2013-03-01 11:01 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-16 9:28 [RFC PATCH 00/18] Remove DV_PRESET API Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 01/18] tvp7002: replace 'preset' by 'timings' in various structs/variables Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 02/18] tvp7002: use dv_timings structs instead of presets Hans Verkuil
2013-02-16 13:12 ` Prabhakar Lad
2013-02-16 9:28 ` [RFC PATCH 03/18] tvp7002: remove dv_preset support Hans Verkuil
2013-02-16 13:13 ` Prabhakar Lad
2013-02-16 9:28 ` [RFC PATCH 04/18] davinci_vpfe: fix copy-paste errors in several comments Hans Verkuil
2013-02-16 12:40 ` Prabhakar Lad
2013-02-16 9:28 ` [RFC PATCH 05/18] davinci: remove VPBE_ENC_DV_PRESET and rename VPBE_ENC_CUSTOM_TIMINGS Hans Verkuil
2013-02-16 12:50 ` Prabhakar Lad
2013-02-16 12:50 ` Prabhakar Lad
2013-02-16 19:18 ` Sekhar Nori
2013-02-16 19:18 ` Sekhar Nori
2013-02-16 9:28 ` [RFC PATCH 06/18] davinci: replace V4L2_OUT_CAP_CUSTOM_TIMINGS by V4L2_OUT_CAP_DV_TIMINGS Hans Verkuil
2013-02-16 12:58 ` Prabhakar Lad
2013-02-16 12:58 ` Prabhakar Lad
2013-02-16 19:23 ` Sekhar Nori
2013-02-16 19:23 ` Sekhar Nori
2013-02-16 19:33 ` Hans Verkuil
2013-02-16 19:33 ` Hans Verkuil
2013-02-19 10:47 ` Sekhar Nori
2013-02-19 10:47 ` Sekhar Nori
2013-02-16 9:28 ` [RFC PATCH 07/18] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGS Hans Verkuil
2013-02-16 13:39 ` Scott Jiang
2013-02-16 9:28 ` [RFC PATCH 08/18] s5p-tv: add dv_timings support for mixer_video Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 09/18] s5p-tv: add dv_timings support for hdmi Hans Verkuil
2013-03-01 11:01 ` Tomasz Stanislawski
2013-02-16 9:28 ` [RFC PATCH 10/18] s5p-tv: add dv_timings support for hdmiphy Hans Verkuil
2013-03-01 11:02 ` Tomasz Stanislawski
2013-03-01 11:25 ` Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 11/18] s5p-tv: remove dv_preset support from mixer_video Hans Verkuil
2013-03-01 11:02 ` Tomasz Stanislawski
2013-02-16 9:28 ` [RFC PATCH 12/18] s5p-tv: remove the dv_preset API from hdmi Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 13/18] s5p-tv: remove the dv_preset API from hdmiphy Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 14/18] v4l2-common: remove obsolete v4l_fill_dv_preset_info Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 15/18] v4l2-subdev: remove obsolete dv_preset ops Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 16/18] v4l2 core: remove the obsolete dv_preset support Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 17/18] DocBook/media/v4l: remove the documentation of the obsolete dv_preset API Hans Verkuil
2013-02-16 9:28 ` [RFC PATCH 18/18] videodev2.h: remove obsolete DV_PRESET API Hans Verkuil
2013-02-16 13:12 ` [RFC PATCH 01/18] tvp7002: replace 'preset' by 'timings' in various structs/variables Prabhakar Lad
2013-03-01 11:01 ` Tomasz Stanislawski [this message]
2013-03-01 11:32 ` [RFC PATCH 00/18] Remove DV_PRESET API Hans Verkuil
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=51308A75.4040300@samsung.com \
--to=t.stanislaws@samsung.com \
--cc=hverkuil@xs4all.nl \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=prabhakar.csengg@gmail.com \
--cc=scott.jiang.linux@gmail.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.