linux/sound/soc/sof/intel
Kai Vehmanen 71cc8abb6e
ASoC: SOF: Intel: hda: allow operation without i915 gfx
Add support to configure the HDA controller with an external HDA
codec even if iDisp codec in i915 is not available.

This can happen for multiple reasons:
 - internal graphics is disabled on the system
 - i915 driver is not enabled in kernel or it fails to init
 - i915 codec reports error in HDA codec probe
 - HDA codec driver probe fails

Address all these scenarios, but keep using the existing topology.
In case failures occur, HDMI PCM nodes are created, but they will
report error if application tries to use them. No ALSA mixer controls
are created. If the external HDA codec init fails as well, SOF probe
will return error as before.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206085
BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=1163677
BugLink: https://github.com/thesofproject/linux/issues/1658
Link: https://lore.kernel.org/r/20200220171028.22023-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-20 20:28:45 +00:00
..
Kconfig ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
Makefile ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
apl.c ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
bdw.c ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
byt.c ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
cnl.c ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
hda-bus.c ASoC: SOF: Intel: Add missing include file hdac_hda.h 2019-08-09 13:24:20 +01:00
hda-codec.c ASoC: SOF: Intel: hda: allow operation without i915 gfx 2020-02-20 20:28:45 +00:00
hda-compress.c ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
hda-ctrl.c ASoC: SOF: Intel: add codec_mask module parameter 2019-12-10 13:13:38 +00:00
hda-dai.c ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
hda-dsp.c Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-02-11 16:18:04 +00:00
hda-ipc.c ASoC: SOF: Implement Probe IPC API 2020-02-18 21:52:06 +00:00
hda-ipc.h ASoC: SOF: Intel: HDA: add cAVS specific compact IPC header file 2019-10-28 14:43:58 +00:00
hda-loader.c ASoC: Fixes for v5.5 2020-01-17 15:38:56 +00:00
hda-pcm.c ASoC: SOF: Intel: Expose SDnFMT helpers 2020-02-18 21:52:08 +00:00
hda-stream.c ASoC: SOF: Intel: Account for compress streams when servicing IRQs 2020-02-18 21:52:06 +00:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c ASoC: SOF: Intel: hda: allow operation without i915 gfx 2020-02-20 20:28:45 +00:00
hda.h ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
intel-ipc.c ASoC: SOF: Intel: add module namespace for legacy IPC 2019-12-18 19:50:53 +00:00
shim.h ASoC: SOF: remove references to Haswell 2019-12-18 19:51:40 +00:00