linux_dsm_epyc7002/sound/soc/sof
Kai Vehmanen af7aae1b1f
ASoC: SOF: Intel: hda: move i915 init earlier
To be compliant with i915 display driver requirements, i915 power-up
must be done before any HDA communication takes place, including
parsing the bus capabilities. Otherwise the initial codec probe
may fail.

Move i915 initialization earlier in the SOF HDA sequence. This
sequence is now aligned with the snd-hda-intel driver where the
display_power() call is before snd_hdac_bus_parse_capabilities()
and rest of the capability parsing.

Also remove unnecessary ifdef around hda_codec_i915_init(). There's
a dummy implementation provided if CONFIG_SND_SOC_SOF_HDA is not
enabled.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200206200223.7715-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-10 14:06:12 +00:00
..
imx ASoC: SOF: imx8: use resource_size 2020-01-01 21:39:33 +00:00
intel ASoC: SOF: Intel: hda: move i915 init earlier 2020-02-10 14:06:12 +00:00
xtensa ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +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: core: release resources on errors in probe_continue 2020-01-27 17:51:59 +00:00
debug.c Merge branch 'for-5.4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.5 2019-11-06 16:29:34 +00:00
ipc.c Merge branch 'for-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.6 2019-12-25 17:51:43 +00:00
Kconfig ASoC: SOF: remove references to Haswell 2019-12-18 19:51:40 +00:00
loader.c ASoC: SOF: loader: add dynamic debug trace 2020-01-07 22:29:20 +00:00
Makefile ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +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: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
pcm.c ASoC: SOF: fix an Oops, caused by invalid topology 2020-01-27 17:51:49 +00:00
pm.c ASoC: SOF: core: release resources on errors in probe_continue 2020-01-27 17:51:59 +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: nocodec: Amend arguments for sof_nocodec_setup() 2019-12-09 18:40:32 +00:00
sof-audio.h ASoC: SOF: Make creation of machine device from SOF core optional 2019-12-09 18:39:35 +00:00
sof-of-dev.c ASoC: SOF: remove nocodec_fw_filename 2019-12-09 18:39:54 +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: move arch_ops under ops 2019-12-18 20:02:02 +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