All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Christophe TROTIN <jean-christophe.trotin@st.com>
To: Javier Martinez Canillas <javier@dowhile0.org>
Cc: "nicolas@ndufresne.ca" <nicolas@ndufresne.ca>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	"kernel@stlinux.com" <kernel@stlinux.com>,
	Benjamin Gaignard <benjamin.gaignard@linaro.org>,
	Yannick FERTRE <yannick.fertre@st.com>,
	Hugues FRUCHET <hugues.fruchet@st.com>
Subject: Re: [PATCH v2 0/3] support of v4l2 encoder for STMicroelectronics SOC
Date: Wed, 13 Jul 2016 15:49:54 +0200	[thread overview]
Message-ID: <57864702.5090006@st.com> (raw)
In-Reply-To: <CABxcv=k-1RVsDWw++2+1Y4tq-T1XR7TSDrmSet8Thiuw+ChYUw@mail.gmail.com>



On 07/11/2016 08:57 PM, Javier Martinez Canillas wrote:
> On Mon, Jul 11, 2016 at 1:48 PM, Nicolas Dufresne
> <nicolas.dufresne@gmail.com> wrote:
>> Le lundi 11 juillet 2016 à 17:14 +0200, Jean-Christophe Trotin a
>> écrit :
>
> [snip]
>
>>>
>>> Below is the v4l2-compliance report for the version 2 of the sti hva
>>> driver:
>>>
>>>
>>> root@sti-next:/home/video_test# v4l2-compliance -d /dev/video0
>>> Driver Info:
>>>        Driver name   : 8c85000.hva
>>
>> I think it would be nice to set a driver name that means something.
>>
>>>        Card type     : 8c85000.hva
>
> Agreed, same for Card type. The VIDIOC_QUERYCAP ioctl documentation
> explains what information these fields should contain:
>
> https://linuxtv.org/downloads/v4l-dvb-apis/vidioc-querycap.html
>
> For example https://git.linuxtv.org/media_tree.git/commit/?id=e0d80c8acca0f221b9dedb2eab7a5184848b99b7
>
> Best regards,
> Javier
>

Nicolas and Javier,

Thank you for the remarks.
I will modify the code in version 3 so that "driver" contains the name of the 
encoder ("hva"), "card" identifies the hardware version ("hva<hw_ip_version>" 
with <hw_ip_version> equal to 400 here, which leads to "hva400"), and "bus_info" 
indicates the location of the device ("platform:8c85000.hva").

Before the modification:
Driver Info:
        Driver name   : 8c85000.hva
        Card type     : 8c85000.hva
        Bus info      : platform:hva
        Driver version: 4.7.0

After the modification:
Driver Info:
	Driver name   : hva
	Card type     : hva400
	Bus info      : platform:8c85000.hva
	Driver version: 4.7.0

Best regards,
Jean-Christophe.

  reply	other threads:[~2016-07-13 13:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-11 15:14 [PATCH v2 0/3] support of v4l2 encoder for STMicroelectronics SOC Jean-Christophe Trotin
2016-07-11 15:14 ` [PATCH v2 1/3] Documentation: DT: add bindings for STI HVA Jean-Christophe Trotin
2016-07-11 15:14 ` [PATCH v2 2/3] [media] hva: multi-format video encoder V4L2 driver Jean-Christophe Trotin
2016-07-11 18:00   ` Nicolas Dufresne
2016-07-13 14:11     ` Jean Christophe TROTIN
2016-07-18 11:45   ` Hans Verkuil
2016-07-19 15:55     ` Jean Christophe TROTIN
2016-07-19 16:45       ` Hans Verkuil
2016-07-21  7:30     ` Jean Christophe TROTIN
2016-07-21  9:49       ` Hans Verkuil
2016-07-25 14:09         ` Jean Christophe TROTIN
2016-07-11 15:14 ` [PATCH v2 3/3] [media] hva: add H.264 video encoding support Jean-Christophe Trotin
2016-07-18 11:55   ` Hans Verkuil
2016-07-21  7:30     ` Jean Christophe TROTIN
2016-07-11 17:48 ` [PATCH v2 0/3] support of v4l2 encoder for STMicroelectronics SOC Nicolas Dufresne
2016-07-11 18:57   ` Javier Martinez Canillas
2016-07-13 13:49     ` Jean Christophe TROTIN [this message]
2016-07-13 14:00       ` Javier Martinez Canillas

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=57864702.5090006@st.com \
    --to=jean-christophe.trotin@st.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=hugues.fruchet@st.com \
    --cc=hverkuil@xs4all.nl \
    --cc=javier@dowhile0.org \
    --cc=kernel@stlinux.com \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas@ndufresne.ca \
    --cc=yannick.fertre@st.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.