From: Takashi Iwai <tiwai@suse.de>
To: Anssi Hannula <anssi.hannula@iki.fi>
Cc: alsa-devel@alsa-project.org,
"Peter Frühberger" <fritsch@xbmc.org>,
"Rafał Miłecki" <zajec5@gmail.com>,
"Olivier Langlois" <olivier@trillion01.com>,
linux-kernel@vger.kernel.org
Subject: Re: [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support
Date: Mon, 07 Oct 2013 09:33:29 +0200 [thread overview]
Message-ID: <s5h4n8ttu0m.wl%tiwai@suse.de> (raw)
In-Reply-To: <524C4D0D.1070903@iki.fi>
At Wed, 02 Oct 2013 19:42:53 +0300,
Anssi Hannula wrote:
>
> 02.10.2013 17:34, Takashi Iwai kirjoitti:
> > At Tue, 1 Oct 2013 23:30:52 +0300,
> > Anssi Hannula wrote:
> [...]
> >> Anssi Hannula (4):
> >> ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support
> >> ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs
> >> ALSA: hda - hdmi: Add HBR bitstreaming support for ATI/AMD HDMI codecs
> >> ALSA: hda - hdmi: Disable ramp-up/down for non-PCM on AMD codecs
> >
> >
> > The patches generally look good, but I'm thinking whether it's cleaner
> > to create a new ops items. Maybe it can be specific to HDMI codec,
> > e.g.
> >
> > struct hda_hdmi_ops {
> > int (*get_chan_slot)(struct hda_codec *codec, hda_nid_t pin, int slot);
> > int (*set_chan_slot)(struct hda_codec *codec, hda_nid_t pin, int setup);
> > int (*set_ca)(struct hda_codec *codec, hda_nid_t pin, int ca);
> > ....
> > }
> >
> > It's not sexy to have a thing like is_atihdmi() in the common header
> > and see it in everywhere.
>
> OK, will do that for next version.
>
> Regarding hda_eld.c, I guess I'll add struct hda_hdmi_ops to struct
> hdmi_spec, then keep snd_hdmi_ati_get_eld() in hda_eld.c but make it
> non-static, so I can assign the correct _get_eld in patch_hdmi.c?
Yes, that'd be OK.
> P.S. I asked whether new callbacks should be added in the previous RFC
> message, but I guess that was easy to overlook as the message was a bit
> incoherent... :)
Oh, indeed :)
thanks,
Takashi
>
> --
> Anssi Hannula
>
> > thanks,
> >
> > Takashi
> >
> >>
> >> sound/pci/hda/hda_eld.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >> sound/pci/hda/hda_local.h | 5 +++
> >> sound/pci/hda/patch_hdmi.c | 424 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
> >> 3 files changed, 547 insertions(+), 39 deletions(-)
> >>
> >> --
> >> Anssi Hannula
> >>
>
>
> --
> Anssi Hannula
>
next prev parent reply other threads:[~2013-10-07 7:30 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-01 20:30 Anssi Hannula
2013-10-01 20:30 ` [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support Anssi Hannula
2013-10-30 15:35 ` Rafał Miłecki
2013-10-30 15:59 ` Anssi Hannula
2013-10-31 16:22 ` Rafał Miłecki
2013-10-31 20:26 ` Anssi Hannula
2013-10-31 23:25 ` Rafał Miłecki
2013-10-31 23:34 ` Anssi Hannula
2013-10-31 23:51 ` Rafał Miłecki
2013-10-31 23:58 ` Anssi Hannula
2013-11-01 11:29 ` Rafał Miłecki
2013-11-01 12:15 ` Anssi Hannula
2013-11-01 13:22 ` Rafał Miłecki
2013-11-01 13:43 ` Rafał Miłecki
2013-10-01 20:30 ` [PATCH 2/4] ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs Anssi Hannula
2013-10-01 20:30 ` [PATCH 3/4] ALSA: hda - hdmi: Add HBR bitstreaming support for ATI/AMD HDMI codecs Anssi Hannula
2013-10-01 20:30 ` [PATCH 4/4] ALSA: hda - hdmi: Disable ramp-up/down for non-PCM on AMD codecs Anssi Hannula
2013-10-02 14:34 ` [RFC/RFT v2 0/4] ALSA: hda - hdmi: ATI/AMD multi-channel and HBR support Takashi Iwai
2013-10-02 16:42 ` Anssi Hannula
2013-10-07 7:33 ` Takashi Iwai [this message]
2013-10-04 7:06 ` Olivier Langlois
2013-10-04 23:39 ` Anssi Hannula
2013-10-06 3:48 ` [alsa-devel] " Olivier Langlois
2013-10-06 12:07 ` Anssi Hannula
2013-10-09 4:32 ` Olivier Langlois
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=s5h4n8ttu0m.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=anssi.hannula@iki.fi \
--cc=fritsch@xbmc.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olivier@trillion01.com \
--cc=zajec5@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®