All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Andreas Oberritter <obi@linuxtv.org>
Cc: Manu Abraham <abraham.manu@gmail.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	linux-media@vger.kernel.org,
	Hans Verkuil <hans.verkuil@cisco.com>
Subject: Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.
Date: Fri, 25 Nov 2011 14:26:47 -0200	[thread overview]
Message-ID: <4ECFC1C7.8010600@redhat.com> (raw)
In-Reply-To: <4ECFBC5E.6080308@linuxtv.org>

Em 25-11-2011 14:03, Andreas Oberritter escreveu:
> On 25.11.2011 16:38, Mauro Carvalho Chehab wrote:
>> Em 25-11-2011 12:41, Andreas Oberritter escreveu:
>>> On 25.11.2011 14:48, Mauro Carvalho Chehab wrote:
>>>> If your complain is about the removal of audio.h, video.h
>>>
>>> We're back on topic, thank you!
>>>
>>>> and osd.h, then my proposal is
>>>> to keep it there, writing a text that they are part of a deprecated API,
>>>
>>> That's exactly what I proposed. Well, you shouldn't write "deprecated",
>>> because it's not. Just explain - inside this text - when V4L2 should be
>>> preferred over DVB.
>>
>> It is deprecated, as the API is not growing to fulfill today's needs, and
>> no patches adding new stuff to it to it will be accepted anymore.
> 
> Haha, nice one. "It doesn't grow because I don't allow it to." Great!

No. It didn't grow because nobody cared with it for years:

Since 2.6.12-rc2 (start of git history), no changes ever happened at osd.h.

Excluding Hans changes for using it on a pure V4L device, and other trivial
patches not related to API changes, the last API change on audio.h and video.h 
was this patch:
	commit f05cce863fa399dd79c5aa3896d608b8b86d8030
	Author: Andreas Oberritter <obi@linuxtv.org>
	Date:   Mon Feb 27 00:09:00 2006 -0300

	    V4L/DVB (3375): Add AUDIO_GET_PTS and VIDEO_GET_PTS ioctls

	(yet not used on any upstream driver)

An then:
	commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
	Author: Linus Torvalds <torvalds@ppc970.osdl.org>
	Date:   Sat Apr 16 15:20:36 2005 -0700

	    Linux-2.6.12-rc2

No changes adding support for any in-kernel driver were ever added there.

So, it didn't grow over the last 5 or 6 years because nobody submitted
driver patches requiring new things or _even_ using it.

> 
>>>> but keeping
>>>> the rest of the patches
>>>
>>> Which ones?
>>
>> V4L2, ivtv and DocBook patches.
> 
> Fine.
> 
>>>> and not accepting anymore any submission using them
>>>
>>> Why? First you complain about missing users and then don't want to allow
>>> any new ones.
>>
>> I didn't complain about missing users. What I've said is that, between a
>> one-user API and broad used APIs like ALSA and V4L2, the choice is to freeze
>> the one-user API and mark it as deprecated.
> 
> Your assumtion about only one user still isn't true.
> 
>> Also, today's needs are properly already covered by V4L/ALSA/MC/subdev. 
>> It is easier to add what's missing there for DVB than to work the other
>> way around, and deprecate V4L2/ALSA/MC/subdev.
> 
> Yes. Please! Add it! But leave the DVB API alone!
> 
>>>> , removing
>>>> the ioctl's that aren't used by av7110 from them.
>>>
>>> That's just stupid. I can easily provide a list of used and valuable
>>> ioctls, which need to remain present in order to not break userspace
>>> applications.
>>
>> Those ioctl's aren't used by any Kernel driver, and not even documented.
>> So, why to keep/maintain them?
> 
> If you already deprecated it, why bother deleting random stuff from it
> that people are using?
> 
> There's a difference in keeping and maintaining something. You don't
> need to maintain ioctls that haven't changed in years. Deleting
> something is more work than letting it there to be used by those who
> want to.

Ok. Let's just keep the headers as is, just adding a comment that it is now
considered superseded.

>>> Btw.: It's not easy to submit a driver for a SoC. Even if you are
>>> legally allowed to do it, you have to first merge and maintain the board
>>> support code before even thinking about multimedia.
>>
>> Yes, I know that there's a long road for SoC drivers addition. Fortunately,
>> several vendors are now working to put their stuff upstream.
>>
>> I heard that there are some upcoming changes intended to simplify it a little bit,
>> trying to make the architecture a little more generic, and put board-specific
>> configuration on userspace. I dunno the details.
> 
> Thanks for your help.
> 
> Regards,
> Andreas


  reply	other threads:[~2011-11-25 16:26 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 13:38 Remove audio and video DVBv5 API Hans Verkuil
2011-11-24 13:38 ` [RFCv2 PATCH 01/12] v4l2: add VIDIOC_(TRY_)DECODER_CMD Hans Verkuil
2011-11-24 13:38   ` [RFCv2 PATCH 02/12] v4l spec: document VIDIOC_(TRY_)DECODER_CMD Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 03/12] ivtv: implement new decoder command ioctls Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 04/12] v4l2-ctrls: add new controls for MPEG decoder devices Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 05/12] Document decoder controls Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 06/12] ivtv: implement new " Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 07/12] cx18/ddbridge: remove unused headers Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 08/12] ivtv: extend ivtv.h with structs and ioctls from dvb/audio.h and video.h Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 09/12] ivtv: use the new ivtv-specific ioctls from ivtv.h Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 10/12] av7110: replace audio.h, video.h and osd.h by av7110.h Hans Verkuil
2011-11-24 23:24     ` Oliver Endriss
2011-11-25 15:35     ` Klaus Schmidinger
2011-11-24 13:39   ` [RFCv2 PATCH 11/12] Replace audio.xml and video.xml with av.xml Hans Verkuil
2011-11-24 13:39   ` [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h Hans Verkuil
2011-11-24 17:08     ` Andreas Oberritter
2011-11-24 17:37       ` Mauro Carvalho Chehab
2011-11-24 17:59         ` Manu Abraham
2011-11-24 18:01         ` Andreas Oberritter
2011-11-24 23:32         ` Oliver Endriss
2011-11-24 17:44       ` Hans Verkuil
2011-11-24 17:51         ` Andreas Oberritter
2011-11-24 17:58           ` Mauro Carvalho Chehab
2011-11-24 18:07             ` Andreas Oberritter
2011-11-24 18:25               ` Mauro Carvalho Chehab
2011-11-24 18:34                 ` Manu Abraham
2011-11-25  1:09                 ` Andreas Oberritter
2011-11-25  2:44                   ` Mauro Carvalho Chehab
2011-11-25 12:55                     ` Andreas Oberritter
2011-11-25 15:18                       ` Mauro Carvalho Chehab
2011-11-25 15:25                         ` Hans Verkuil
2011-11-25 16:00                           ` Mauro Carvalho Chehab
2011-11-24 18:01         ` Manu Abraham
2011-11-24 18:08           ` Mauro Carvalho Chehab
2011-11-24 18:13             ` Manu Abraham
2011-11-24 18:47               ` Mauro Carvalho Chehab
2011-11-24 18:51                 ` Manu Abraham
2011-11-24 19:05                 ` Manu Abraham
2011-11-25 12:00                 ` Andreas Oberritter
2011-11-25 13:48                   ` Mauro Carvalho Chehab
2011-11-25 13:59                     ` Manu Abraham
2011-11-25 14:41                     ` Andreas Oberritter
2011-11-25 15:38                       ` Mauro Carvalho Chehab
2011-11-25 16:03                         ` Andreas Oberritter
2011-11-25 16:26                           ` Mauro Carvalho Chehab [this message]
2011-11-25 16:51                             ` Manu Abraham
2011-11-25 22:06                               ` Andreas Oberritter
2011-11-26  5:55                                 ` Oliver Endriss
2011-11-26  6:25                                   ` Manu Abraham
2011-11-26 11:32                                   ` Mauro Carvalho Chehab
2011-11-26 11:59                                     ` Mauro Carvalho Chehab
2011-11-26 12:46                                       ` Oliver Endriss
2011-11-26 11:49                                   ` Hans Verkuil
2011-11-26 20:27                                     ` Andreas Oberritter
2011-11-27 18:28                                       ` Mauro Carvalho Chehab
2011-11-26 21:58                                     ` Manu Abraham
2011-11-27 19:03                                       ` Mauro Carvalho Chehab
2011-11-27 19:27                                         ` Manu Abraham
2011-11-27 21:39                                           ` Mauro Carvalho Chehab
2011-11-27 22:24                                             ` Manu Abraham
2011-11-27 22:50                                               ` Mauro Carvalho Chehab
2011-11-26 22:11                                     ` Manu Abraham
2011-11-25 15:22                     ` Hans Verkuil
2011-11-25 15:52                       ` Mauro Carvalho Chehab
2011-11-26 10:44                         ` Hans Verkuil
2011-11-25 15:58                       ` Manu Abraham
2011-11-25 16:03                         ` Mauro Carvalho Chehab
2011-11-25 16:11                           ` Manu Abraham
2011-11-24 23:25     ` Oliver Endriss

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=4ECFC1C7.8010600@redhat.com \
    --to=mchehab@redhat.com \
    --cc=abraham.manu@gmail.com \
    --cc=hans.verkuil@cisco.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=obi@linuxtv.org \
    /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.