sound: Use -EPROBE_DEFER instead of i915 module loading.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest13 patches 4 repliesIn review
- v612 patches 7 repliesSuperseded
- v512 patches 6 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 11 patches | 14 replies | Superseded | |
| v3 | 9 patches | 14 replies | Superseded | |
| v2 | 9 patches | 24 replies | Superseded | |
| v1 | 7 patches | 13 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | ASoC: SOF: core: Ensure sof_ops_free() is still called when probe never ran.sound/ | +5 | 3 replies | |
| 2/13 | ASoC: SOF: core: Add probe_early and remove_late callbackssound/ sound/ sound/ | +29 | 0 replies | |
| 3/13 | ASoC: SOF: Intel: hda: start splitting the probesound/ sound/ sound/ | +15 | 0 replies | |
| 4/13 | ASoC: SOF: Intel: Fix error handling in hda_init()sound/ | +11 | 0 replies | |
| 5/13 | ALSA: hda: Intel: Fix error handling in azx_probe()sound/ | +1 | 0 replies | |
| 6/13 | ALSA: hda: i915: Allow override of gpu binding.sound/ | +9 | 0 replies | |
| 7/13 | ALSA: hda: i915: Add an allow_modprobe argument to snd_hdac_i915_initinclude/ sound/ sound/ +3 more | +10 | 0 replies | |
| 8/13 | ALSA: hda: i915: Allow xe as match for i915_component_master_matchsound/ | +2 | 0 replies | |
| 9/13 | ASoC: Intel: avs: Move snd_hdac_i915_init to before probe_work.sound/ | +9 | 0 replies | |
| 10/13 | ALSA: hda: Intel: Move snd_hdac_i915_init to before probe_work.sound/ | +30 | 0 replies | |
| 11/13 | ASoC: Intel: Skylake: Move snd_hdac_i915_init to before probe_work.sound/ | +9 | 0 replies | |
| 12/13 | ASoC: SOF: Intel: Move binding to display driver outside of deferred probesound/ sound/ sound/ | +8 | 0 replies | |
| 13/13 | ALSA: hda: i915: Remove extra argument from snd_hdac_i915_initinclude/ sound/ sound/ +3 more | +9 | 0 replies |
Reviews trailers per patch
12 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mark Brown | Kai Vehmanen | Pierre-Louis Bossart | Peter Ujfalusi | Amadeusz Sławiński |
|---|---|---|---|---|---|
| Series | R-b A-b | ||||
| 1/13 | A-b | ||||
| 2/13 | A-b | ||||
| 3/13 | A-b | ||||
| 4/13 | R-b | ||||
| 5/13 | R-b | R-b | R-b | ||
| 6/13 | R-b | R-b | R-b | ||
| 7/13 | R-b | R-b | |||
| 8/13 | R-b | R-b | R-b | ||
| 9/13 | A-b | R-b | R-b | ||
| 10/13 | R-b | R-b | |||
| 11/13 | A-b | R-b | R-b | ||
| 12/13 | |||||
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v7 00/13] sound: Use -EPROBE_DEFER instead of i915 module loading.
Explicitly loading i915 becomes a problem when upstreaming the new intel driver for Tiger Lake and higher graphics (xe). By loading i915, it doesn't wait for driver load of xe, and will fail completely before it loads.
-EPROBE_DEFER has to be returned before any device is created in probe(), otherwise the removal of the device will cause EPROBE_DEFER to try again in an infinite loop.
The conversion is done in gradual steps. First I add an argument to snd_hdac_i915_init to allow for -EPROBE_DEFER so I can convert each driver separately. Then I convert each driver to move snd_hdac_i915_init out of the workqueue. Finally I drop the ability to choose modprobe behavior after the last user is converted.
Compared to previous version, I added the patch "ASoC: SOF: Intel: Fix error handling in hda_init()"
Maarten Lankhorst (11):
ASoC: SOF: core: Ensure sof_ops_free() is still called when probe
never ran.
ASoC: SOF: Intel: Fix error handling in hda_init()
ALSA: hda: Intel: Fix error handling in azx_probe()
ALSA: hda: i915: Allow override of gpu binding.
ALSA: hda: i915: Add an allow_modprobe argument to snd_hdac_i915_init
ALSA: hda: i915: Allow xe as match for i915_component_master_match
ASoC: Intel: avs: Move snd_hdac_i915_init to before probe_work.
ALSA: hda: Intel: Move snd_hdac_i915_init to before probe_work.
ASoC: Intel: Skylake: Move snd_hdac_i915_init to before probe_work.
ASoC: SOF: Intel: Move binding to display driver outside of deferred
probe
ALSA: hda: i915: Remove extra argument from snd_hdac_i915_init
Pierre-Louis Bossart (2):
ASoC: SOF: core: Add probe_early and remove_late callbacks
ASoC: SOF: Intel: hda: start splitting the probe
sound/hda/hdac_i915.c | 24 ++++++----- sound/pci/hda/hda_intel.c | 60 ++++++++++++++-------------- sound/soc/intel/avs/core.c | 13 ++++-- sound/soc/intel/skylake/skl.c | 31 +++++--------- sound/soc/sof/core.c | 17 +++++++- sound/soc/sof/intel/hda-common-ops.c | 2 + sound/soc/sof/intel/hda.c | 46 +++++++++++++-------- sound/soc/sof/intel/hda.h | 2 + sound/soc/sof/ops.h | 16 ++++++++ sound/soc/sof/sof-priv.h | 2 + 10 files changed, 129 insertions(+), 84 deletions(-)
Signature · 1 line
2.39.2