Péter Ujfalusi

Results 271 comments of Péter Ujfalusi

I got an ftrace log (11GB - 123 million lines), not easy to work with but it looks like that the pm_runtime is the one which is blocking: ``` -5820...

this is where we lock up: ``` [ 465.477593] snd_soc_core:snd_soc_pcm_component_pm_runtime_get: snd_hda_codec_realtek ehdaudio0D0: ASoC: before pm_runtime_get_sync() for ehdaudio0D0 ``` in `dpcm_fe_dai_open()` -> `dpcm_fe_dai_startup()` -> `dpcm_be_dai_startup()` -> `__soc_pcm_open()` -> `snd_soc_pcm_component_pm_runtime_get()` Full dmesg...

The `hda_call_codec_suspend()` is locking up, apparently in `alc225_shutup()` and also in `hda_set_power_state(codec, AC_PWRST_D3)` Test run log, dmesg with the kernel built from here: https://github.com/ujfalusi/sof-linux/commits/peter/sof/lnl-debug [dmesg-7.txt](https://github.com/thesofproject/linux/files/13280322/dmesg-7.txt) [test-run-7.txt](https://github.com/thesofproject/linux/files/13280323/test-run-7.txt) The ftrace log is...

Once the right set of verbs identified for the device they can be integrated to `sound/pci/hda/patch_realtek.c` as quirk or fixup. After that there will be no need for the script...

Changes since v1: - Use sdev->dspless_mode_selected runtime for decisions instead of the sof_debug flag - all minor comments addressed with the exception of the use of a temporary tplg pointer

Changes since v2: - set constraint on the supported formats for HDA in DSPless mode: Only S16 and S32 formats are supported (S24_LE is not supported).

Changes since v3: - do not allow DSPless mode to be enabled if the NOCODEC mode is selected - Do not connect non HDA DAIs to allow mixed topology loading...

Changes since v4: - Lift additional restriction in core on the DSPless mode (NOCODEC and INTEL_HDA dai) - Introduce `hda_get_interface_mask()` in intel/hda.c to get an interface mask about the currently...

> @ujfalusi we're going to need some more time to review the last patches, so can we push the initial 13-odd patches in a separate PR to reduce the volume...

Changes since v5: - rebased - Separated the skip unsupported interfaces from the DSPless mode patch to make it easier to focus on the real changes.