public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Toth <stoth@kernellabs.com>
To: Andy Walls <awalls@radix.net>,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Michael Krufky <mkrufky@kernellabs.com>,
	Jarod Wilson <jarod@wilsonet.com>,
	Hans Verkuil via Mercurial <hverkuil@xs4all.nl>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [linuxtv-commits] [hg:v4l-dvb] cx25840: fix determining the firmware name
Date: Tue, 08 Sep 2009 12:24:40 -0400	[thread overview]
Message-ID: <4AA68548.2000508@kernellabs.com> (raw)
In-Reply-To: <1252377042.321.57.camel@morgan.walls.org>

> What is the exact benefit we're after here by making things common
> between all these cores?  Code reuse is not a benefit, if it leads to
> more expensive maintenance.

We'll, it diverged for the 23885 because the register addressed change for some 
registers, it's not the same part. Certainly for the video decoder, not 
necessarily for the audio encoder.

I know Andy knows this, I'm just pointing it out for the record.

This, coupled with the 'don't screw up other boards' approach leads to a unified 
driver, not so much internally.

The 25840 driver does 'just enough' to get by, Andy has taken it to the next 
level and done the stuff that I should have done for the cx23885 merge (although 
I did 'just enough' to get by).

The notion of flexible clocks pays big dividends thanks to Andy, but is largely 
a positive change that falls outside of this discussion topic (firmware filename).

>
> I had considered moving the cx18-av code from the cx18 module into the
> cx25840 module, but could never find a reason to undertake all the work.
> Memory footprint isn't a good reason: desktop PC memory is cheap and
> embedded systems would likely only use one type of card anyway.  The
> return on investment seems like it would be less than 0.

Hmm. You should check out the cx23102 driver, whole crap, massive cx25840 
overlap, massive superset in terms of functionality.

>
> OK.  I'm done ranting...

A great pity, you were getting me fired up along the same train of thought :)

Andy, you have the support and full access to the resources of KernelLabs if you 
need help (directly or indirectly) with regression testing. Your work is very 
positive and a much needed overhaul.

Mauro, my pitch: Let's leave the firmwares unique for the time being, which 
indeed they are. So, leave the firmware detection code as is, it's working for 
everyone. Let's rethink this discussion after Andy's massive patch series. It 
sounds like the cx25840 driver is 'getting a new owner' and we'll look at the 
driver differently once the overhaul is complete.

-- 
Steven Toth - Kernel Labs
http://www.kernellabs.com

      reply	other threads:[~2009-09-08 16:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MiTfS-0001LQ-SU@mail.linuxtv.org>
2009-09-04 18:05 ` [linuxtv-commits] [hg:v4l-dvb] cx25840: fix determining the firmware name Michael Krufky
2009-09-07  5:10   ` Mauro Carvalho Chehab
2009-09-07  5:20     ` Michael Krufky
2009-09-07  6:06       ` Mauro Carvalho Chehab
2009-09-07  7:44         ` Konstantin Dimitrov
2009-09-07 12:53           ` Mauro Carvalho Chehab
2009-09-07 18:42             ` Mike Isely
2009-09-07 21:41               ` Mauro Carvalho Chehab
2009-09-07 16:19         ` Andy Walls
2009-09-07 16:25           ` Michael Krufky
2009-09-07 21:36             ` Mauro Carvalho Chehab
2009-09-07 22:21               ` Michael Krufky
2009-09-07 22:40                 ` Mauro Carvalho Chehab
2009-09-08  1:22                   ` Michael Krufky
2009-09-08  2:30                     ` Andy Walls
2009-09-08 16:24                       ` Steven Toth [this message]

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=4AA68548.2000508@kernellabs.com \
    --to=stoth@kernellabs.com \
    --cc=awalls@radix.net \
    --cc=hverkuil@xs4all.nl \
    --cc=jarod@wilsonet.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mkrufky@kernellabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox