linux_dsm_epyc7002/sound/soc/sof
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
..
imx ASoC: SOF: imx8: Add ops for i.MX8QM 2020-02-11 11:26:22 +00:00
intel ASoC: SOF: Intel: hda: allow operation without i915 gfx 2020-02-20 20:28:45 +00:00
xtensa ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
compress.c ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
compress.h ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
control.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
core.c ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
debug.c ASoC: SOF: Provide probe debugfs support 2020-02-18 21:52:10 +00:00
ipc.c ASoC: SOF: Intel: cnl: Implement feature to support DSP D0i3 in S0 2020-02-11 11:48:07 +00:00
Kconfig ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
loader.c ASoC: SOF: loader: add dynamic debug trace 2020-01-07 22:29:20 +00:00
Makefile ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
nocodec.c ASoC: SOF: nocodec: Amend arguments for sof_nocodec_setup() 2019-12-09 18:40:32 +00:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
pcm.c ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
pm.c ASoC: SOF: Move DSP power state transitions to platform-specific ops 2020-02-11 11:48:05 +00:00
probe.c ASoC: SOF: Implement Probe IPC API 2020-02-18 21:52:06 +00:00
probe.h ASoC: SOF: Implement Probe IPC API 2020-02-18 21:52:06 +00:00
sof-acpi-dev.c ASoC: SOF: move arch_ops under ops 2019-12-18 20:02:02 +00:00
sof-audio.c ASoC: sof: sof-audio: use for_each_pcm_streams() macro 2020-02-18 23:37:12 +00:00
sof-audio.h ASoC: SOF: audio: Add helper to check if only D0i3 streams are active 2020-02-11 11:48:05 +00:00
sof-of-dev.c ASoC: SOF: Add i.MX8QM device descriptor 2020-02-11 11:26:40 +00:00
sof-pci-dev.c ASoC: SOF: Intel: add PCI ID for JasperLake 2020-02-02 12:07:18 +00:00
sof-priv.h ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
topology.c ASoC: SOF: imx: Read SAI parameters and send them to DSP 2019-12-18 19:54:25 +00:00
trace.c ASoC: SOF: trace: fix unconditional free in trace release 2020-01-27 17:52:09 +00:00
utils.c ASoC: SOF: core: modify the signature for snd_sof_create_page_table 2019-12-09 18:38:01 +00:00