From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Cc: "Stephen Rothwell" <sfr@canb.auug.org.au>,
"Richard Fitzgerald" <rf@opensource.cirrus.com>,
Kailang <kailang@realtek.com>,
"Kai Vehmanen" <kai.vehmanen@linux.intel.com>,
"Cezary Rojewski" <cezary.rojewski@intel.com>,
"Amadeusz Sławiński" <amadeuszx.slawinski@linux.intel.com>,
patches@opensource.cirrus.com, "Baojun Xu" <baojun.xu@ti.com>,
"bo liu" <bo.liu@senarytech.com>
Subject: Re: [PATCH 00/27] ALSA: Reorganize HD-audio driver code
Date: Fri, 11 Jul 2025 14:55:56 +0200 [thread overview]
Message-ID: <87zfdaga3n.wl-tiwai@suse.de> (raw)
In-Reply-To: <20250709160434.1859-1-tiwai@suse.de>
On Wed, 09 Jul 2025 18:04:03 +0200,
Takashi Iwai wrote:
>
> HD-audio driver is known to be quite messy in both file structures and
> its design, but until now I haven't touched its files paths so much
> because I set a higher priority for the easiness of backport to stable
> kernels. But, you can't leave garbages forever, it's been already
> high time for a large clean up -- so here it is.
>
> The basic idea is to move the code from sound/pci/hda/* into different
> subdirectories in sound/hda/ per functionality, as most of the stuff
> are independent from PCI, but rather HD-audio bus specific.
>
> So, now the all HD-audio driver code are moved under sound/hda:
>
> % ls sound/hda
> codecs/ common/ controllers/ core/ Kconfig Makefile
>
> * The former hda core code is found in sound/hda/core.
> * The former snd-hda-codec code is found in sound/hda/common.
> * The former snd-hda-intel, tegra and acpi are put in
> sound/hda/controllers.
> * The former patch_* and co are put to sound/hda/codecs.
> * Realtek codec driver is split to several modules as
> sound/hda/codecs/realtek/alc*.
> * Cirrus codec driver is split to cs420x and cs421x, put under
> sound/hda/codecs/cirrus together with cs8409.
> * HDMI codec driver is split to several modules under
> sound/hda/codecs/hdmi
> * Cirrus and TI sub-codecs are put under sound/hda/codecs/side-codecs
>
> Also, the probe of the HD-audio codec driver is moved into the
> driver's ops instead of the ugly patch_ops embedded in hda_codec
> object. (As of now, hda_codec_driver.ops is a pointer, but it can be
> embedded later, too.)
>
> This change required some code to be modified without the dynamic
> override of callbacks.
>
> In future, we may convert the runtime PM handling to use the standard
> pm_ops, too. This was raised some time ago during the discussion with
> Realtek devs.
>
> The tree applying those patches is found in topic/hda-reorg branch of
> sound git tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/log/?h=topic/hda-reorg
I merged this change to for-next branch now, destined for 6.17.
It means that there may be some merge conflict in future in linux-next
because of many file renames from sound/pci/hda/* -> sound/hda/*.
So adding Stephen to Cc. The conflict resolution should be relatively
easy, though.
thanks,
Takashi
prev parent reply other threads:[~2025-07-11 12:56 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 16:04 [PATCH 00/27] ALSA: Reorganize HD-audio driver code Takashi Iwai
2025-07-09 16:04 ` [PATCH 01/27] ALSA: hda: Move widget capability macros into hdaudio.h Takashi Iwai
2025-07-14 8:40 ` Cezary Rojewski
2025-07-09 16:04 ` [PATCH 02/27] ALSA: hda: Move HD-audio core stuff into sound/hda/core Takashi Iwai
2025-07-14 8:41 ` Cezary Rojewski
2025-07-09 16:04 ` [PATCH 03/27] ALSA: hda: Move common codec driver into sound/hda/common directory Takashi Iwai
2025-07-09 16:04 ` [PATCH 04/27] ALSA: hda: Move CONFIG_SND_HDA_PREALLOC_SIZE into sound/hda/common Takashi Iwai
2025-07-09 16:04 ` [PATCH 05/27] ALSA: hda: Move controller drivers into sound/hda/controllers directory Takashi Iwai
2025-10-14 3:41 ` [REGRESSION][BISECTED] My audio broke (was: [PATCH 05/27] ALSA: hda: Move controller drivers into sound/hda/controllers directory) Askar Safin
2025-10-14 6:04 ` Takashi Iwai
2025-10-15 4:37 ` Askar Safin
2025-10-15 5:51 ` Takashi Iwai
2025-10-15 6:49 ` Askar Safin
2025-10-15 7:47 ` Takashi Iwai
2025-10-15 11:44 ` Askar Safin
2025-10-15 12:05 ` Takashi Iwai
2025-10-15 14:57 ` Askar Safin
2025-10-15 15:18 ` Takashi Iwai
2025-10-15 15:45 ` Askar Safin
2025-10-15 15:54 ` Takashi Iwai
2025-10-16 2:37 ` Askar Safin
2025-10-16 4:50 ` Askar Safin
2025-10-16 6:03 ` Askar Safin
2025-10-16 9:52 ` Takashi Iwai
2025-10-28 12:05 ` Takashi Iwai
2025-10-28 13:03 ` Askar Safin
2025-10-29 12:23 ` Askar Safin
2025-12-02 19:21 ` Askar Safin
2025-12-03 9:42 ` Takashi Iwai
2025-12-06 21:39 ` Askar Safin
2025-12-09 7:57 ` Takashi Iwai
2025-12-09 9:27 ` Takashi Iwai
2025-12-10 1:45 ` Askar Safin
2025-12-10 13:00 ` Takashi Iwai
2025-12-10 13:55 ` Thorsten Leemhuis
2025-12-11 18:11 ` Askar Safin
2025-10-15 15:02 ` Askar Safin
2025-10-15 5:01 ` Askar Safin
2025-07-09 16:04 ` [PATCH 06/27] ALSA: hda: Move codec drivers into sound/hda/codecs directory Takashi Iwai
2025-07-10 10:05 ` Richard Fitzgerald
2025-07-14 8:57 ` Cezary Rojewski
2025-07-14 9:04 ` Takashi Iwai
2025-07-14 9:08 ` Cezary Rojewski
2025-07-14 9:15 ` Takashi Iwai
2025-07-14 9:35 ` Cezary Rojewski
2025-07-14 10:17 ` Takashi Iwai
2025-07-09 16:04 ` [PATCH 07/27] ALSA: hda: Split Realtek HD-audio codec driver Takashi Iwai
2025-07-14 9:02 ` Cezary Rojewski
2025-07-09 16:04 ` [PATCH 08/27] ALSA: hda/hdmi: Split vendor codec drivers Takashi Iwai
2025-07-09 16:04 ` [PATCH 09/27] ALSA: hda: Introduce hda_codec_driver ops Takashi Iwai
2025-07-09 16:04 ` [PATCH 10/27] ALSA: hda/generic: Rewrite to new probe method Takashi Iwai
2025-07-09 16:04 ` [PATCH 11/27] ALSA: hda/realtek: " Takashi Iwai
2025-07-31 3:20 ` ALC887-VD line-in not visible Arthur Marsh
2025-07-31 5:33 ` Takashi Iwai
2025-07-31 12:32 ` Arthur Marsh
2025-07-31 12:37 ` Takashi Iwai
2025-07-31 13:01 ` Arthur Marsh
2025-07-09 16:04 ` [PATCH 12/27] ALSA: hda/cmedia: Rewrite to new probe method Takashi Iwai
2025-07-09 16:04 ` [PATCH 13/27] ALSA: hda/analog: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 14/27] ALSA: hda/ca0110: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 15/27] ALSA: hda/cirrus: Split to cs420x and cs421x drivers Takashi Iwai
2025-07-09 16:04 ` [PATCH 16/27] ALSA: hda/cs8409: Rewrite to new probe method Takashi Iwai
2025-07-10 10:25 ` Richard Fitzgerald
2025-07-09 16:04 ` [PATCH 17/27] ALSA: hda/conexant: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 18/27] ALSA: hda/senary: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 19/27] ALSA: hda/si3054: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 20/27] ALSA: hda/via: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 21/27] ALSA: hda/sigmatel: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 22/27] ALSA: hda/ca0132: " Takashi Iwai
2025-07-09 16:04 ` [PATCH 23/27] ALSA: hda/hdmi: " Takashi Iwai
2025-08-17 10:55 ` Mikhail Paulyshka
2025-08-18 7:18 ` Takashi Iwai
2025-07-09 16:04 ` [PATCH 24/27] ALSA: hda: Drop old codec binding method Takashi Iwai
2025-07-09 16:04 ` [PATCH 25/27] ALSA: hda: Drop superfluous driver->ops NULL checks Takashi Iwai
2025-07-09 16:04 ` [PATCH 26/27] MAINTAINERS: Adjust to the new HD-audio driver paths Takashi Iwai
2025-07-10 10:30 ` Richard Fitzgerald
2025-07-09 16:04 ` [PATCH 27/27] ALSA: hda: Return the codec init error properly at snd_hda_codec_build_controls() Takashi Iwai
2025-07-11 12:55 ` Takashi Iwai [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=87zfdaga3n.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=baojun.xu@ti.com \
--cc=bo.liu@senarytech.com \
--cc=cezary.rojewski@intel.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=kailang@realtek.com \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=rf@opensource.cirrus.com \
--cc=sfr@canb.auug.org.au \
/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.