All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: HDAudio: enable dynamic selection between legacy and Skylake drivers
@ 2018-12-08  0:00 Pierre-Louis Bossart
  2018-12-08  0:00 ` [PATCH 1/2] ALSA: HD-Audio: SKL+: abort probe if DSP is present and Skylake driver selected Pierre-Louis Bossart
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Pierre-Louis Bossart @ 2018-12-08  0:00 UTC (permalink / raw)
  To: alsa-devel
  Cc: Cezary Rojewski, Filip Kaczmarski, tiwai, Chris Chiu,
	Pierre-Louis Bossart, Daniel Drake, liam.r.girdwood, vkoul,
	broonie, Michal Wasko, Gustaw Lewandowski

This patchset depends on the "ASoC: Intel: Skylake: probe and Kconfig
simplifications" series.

Add the same logic based on PCI class/subclass/prog-if in the HDaudio
legacy probe, and add a module parameter to bypass or force the
automatic detection should it ever fail.

This patchset was tested on a SKL device with the DSP disabled and a
WHL device with the DSP enabled. All 6 combinations of
module parameters provided the expected behavior.

The SOF driver will use exactly the same mechanism, and add a mutual
exclusion with the Skylake/SST driver to avoid having 3 drivers for
the same PCI ID. Two is complicated enough.

Pierre-Louis Bossart (2):
  ALSA: HD-Audio: SKL+: abort probe if DSP is present and Skylake driver
    selected
  ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection

 include/sound/hdaudio.h        |  6 ++++
 sound/pci/hda/Kconfig          | 46 +++++++++++++++++++++++++++++
 sound/pci/hda/hda_controller.h |  2 +-
 sound/pci/hda/hda_intel.c      | 53 +++++++++++++++++++++++++++++-----
 sound/soc/intel/Kconfig        |  6 ++++
 sound/soc/intel/skylake/skl.c  | 44 +++++++++++++++++++---------
 6 files changed, 135 insertions(+), 22 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-12-10 16:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-08  0:00 [PATCH 0/2] ALSA: HDAudio: enable dynamic selection between legacy and Skylake drivers Pierre-Louis Bossart
2018-12-08  0:00 ` [PATCH 1/2] ALSA: HD-Audio: SKL+: abort probe if DSP is present and Skylake driver selected Pierre-Louis Bossart
2018-12-08  7:56   ` Takashi Iwai
2018-12-10 14:31     ` Pierre-Louis Bossart
2018-12-10 15:08       ` Takashi Iwai
2018-12-10 15:57         ` Pierre-Louis Bossart
2018-12-10 16:05           ` Takashi Iwai
2018-12-10 16:06             ` Takashi Iwai
2018-12-10 16:12               ` Pierre-Louis Bossart
2018-12-08  0:00 ` [PATCH 2/2] ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection Pierre-Louis Bossart
2018-12-08  7:49   ` Takashi Iwai
2018-12-10 14:55     ` Pierre-Louis Bossart
2018-12-08  7:58 ` [PATCH 0/2] ALSA: HDAudio: enable dynamic selection between legacy and Skylake drivers Takashi Iwai

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.