From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: hda-compiler, was: hda-verb, hda-analyzer, hda-emu and codecgraph
Date: Tue, 27 Jul 2010 18:33:48 +0200 [thread overview]
Message-ID: <4C4F0A6C.6040203@canonical.com> (raw)
In-Reply-To: <s5hmxtdvseg.wl%tiwai@suse.de>
2010-07-27 17:47, Takashi Iwai skrev:
> At Tue, 27 Jul 2010 17:33:32 +0200,
> David Henningsson wrote:
>>
>> 2010-07-27 16:57, Jaroslav Kysela skrev:
>>> A little off topic: hda-compiler . I'm playing with an idea to have the
>>> hda-intel driver behaviour description (patches) in a firmware file.
>>
>> There seem to be more than one thought in that area. Recently there has
>> been some discussion (at least on Ubuntu Developer Summit) whether the
>> device-tree[1] structure could be used in this area as well.
>> Since we would then have separate device-tree files, we could update
>> them independent of the kernel.
>
> Did it come from Andy? I've heard the idea to use OF from Grant in
> the last year, and yes, this is feasible. But I'm not sure how much
> gain we'd get in the end.
I'm not sure who took the initial initiative, but more than one seem to
be interested.
Anyway, the goal is to make maintenance easier, and especially to be
able to update a small quirk, somewhat independent of the kernel.
> For new devices, except for a few ones like AD or Conexant, we usually
> write the generic tree parser so that BIOS information can be parsed
> dynamically. If BIOS information is broken or insufficient, we can
> add some hints for correction, via sysfs for debugging or statically
> in the code for production.
So you would prefer BIOS overrides (pin configs etc) to writing new models?
Would you say the entire "model" infrastructure is, or should be,
deprecated?
> And the rest of the problem is very
> specific to devices, and requires often some quirks in the parser
> itself. So, in this scenario, there is little room OF can help.
> We'd like rather to avoid the static data, no matter in which form.
Whether that is SSID -> Model mappings or quirks for correcting the
BIOS, it seems unavoidable with static data to me?
> Meanwhile, the deployment of OF can be helpful if we move the whole
> parser stuff to the user-space and push the parsed/compiled tree info
> into the kernel (i.e. "firmware"). In such a case, OF representation
> can be more flexible; and the kernel has already the infrastructure.
So move half of the kernel code into userspace? Are you suggesting that
user-space gets a NID-tree, like in the codec-proc file, and returns
back init verbs, controls, etc?
I'm not experienced enough to foresee all the consequences of such a
massive rewriting.
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
next prev parent reply other threads:[~2010-07-27 16:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 11:31 hda-verb, hda-analyzer, hda-emu and codecgraph David Henningsson
2010-07-27 13:14 ` Takashi Iwai
2010-07-27 14:07 ` Jaroslav Kysela
2010-07-27 14:15 ` Takashi Iwai
2010-07-27 14:57 ` Jaroslav Kysela
2010-07-27 15:31 ` Takashi Iwai
2010-07-27 15:33 ` hda-compiler, was: " David Henningsson
2010-07-27 15:47 ` Takashi Iwai
2010-07-27 16:33 ` David Henningsson [this message]
2010-07-27 20:51 ` Takashi Iwai
2010-07-27 21:22 ` Jaroslav Kysela
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=4C4F0A6C.6040203@canonical.com \
--to=david.henningsson@canonical.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.