Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] ALSA/ASoC: Conditionally skip i915 init and cleanups
@ 2024-02-26 12:44 Cezary Rojewski
  2024-02-26 12:44 ` [PATCH v3 1/5] ALSA: hda: Skip i915 initialization on CNL/LKF-based platforms Cezary Rojewski
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Cezary Rojewski @ 2024-02-26 12:44 UTC (permalink / raw)
  To: broonie
  Cc: alsa-devel, linux-sound, tiwai, perex, jani.nikula,
	joonas.lahtinen, rodrigo.vivi, tvrtko.ursulin, intel-gfx,
	amadeuszx.slawinski, pierre-louis.bossart, hdegoede,
	Cezary Rojewski

A small set of changes to improve initialization of the audio stack on
HDAudio devices and pair of cleanups.

As the first change is the most important one here, following is the
technical background for it:

Commit 78f613ba1efb ("drm/i915: finish removal of CNL") and its friends
removed support for i915 for all CNL-based platforms. HDAudio library,
however, still treats such platforms as valid candidates for i915
binding. Update query mechanism to reflect changes made in drm tree.

At the same time, i915 support for LKF-based platforms has not been
provided so remove them from valid binding candidates.

The snd_soc_hda change is a follow up for the above and the cleanup
patches do not bring any functional changes.

Changes in v3:
- snd_soc_hda_codec now returns -ENODEV on attach() if i915 is not
  present
- denylist now const
- added new patch for the avs-driver to address -ENODEV during
  probe_codec()
- note: retained reviewed-by for patch 1/4 as changes are minimal

Changes in v2:
- list of problematic VGA devices is now declared locally, no more
  touching drm stuff

Cezary Rojewski (5):
  ALSA: hda: Skip i915 initialization on CNL/LKF-based platforms
  ASoC: codecs: hda: Skip HDMI/DP registration if i915 is missing
  ASoC: Intel: avs: Ignore codecs with no suppoting driver
  ASoC: codecs: hda: Cleanup error messages
  ALSA: hda: Reuse for_each_pcm_streams()

 sound/hda/hdac_i915.c      | 32 +++++++++++++++++++++++++++++---
 sound/pci/hda/hda_codec.c  |  2 +-
 sound/soc/codecs/hda.c     | 15 ++++++++++-----
 sound/soc/intel/avs/core.c |  9 +++++----
 4 files changed, 45 insertions(+), 13 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2024-03-04  8:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-26 12:44 [PATCH v3 0/5] ALSA/ASoC: Conditionally skip i915 init and cleanups Cezary Rojewski
2024-02-26 12:44 ` [PATCH v3 1/5] ALSA: hda: Skip i915 initialization on CNL/LKF-based platforms Cezary Rojewski
2024-02-26 12:44 ` [PATCH v3 2/5] ASoC: codecs: hda: Skip HDMI/DP registration if i915 is missing Cezary Rojewski
2024-02-28 17:21   ` Mark Brown
2024-02-26 12:44 ` [PATCH v3 3/5] ASoC: Intel: avs: Ignore codecs with no suppoting driver Cezary Rojewski
2024-02-28 17:22   ` Mark Brown
2024-02-26 12:44 ` [PATCH v3 4/5] ASoC: codecs: hda: Cleanup error messages Cezary Rojewski
2024-02-28 17:22   ` Mark Brown
2024-02-26 12:44 ` [PATCH v3 5/5] ALSA: hda: Reuse for_each_pcm_streams() Cezary Rojewski
2024-02-26 20:09 ` ✓ Fi.CI.BAT: success for ALSA/ASoC: Conditionally skip i915 init and cleanups (rev3) Patchwork
2024-02-27  2:32 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-03-04  8:18 ` [PATCH v3 0/5] ALSA/ASoC: Conditionally skip i915 init and cleanups Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox