[Intel-gfx] [PATCH topic/core-for-CI] ALSA: hda/i915 - skip acomp init if no matching display

Lucas De Marchi lucas.demarchi at intel.com
Wed Apr 6 16:30:30 UTC 2022


On Tue, Apr 05, 2022 at 11:41:18AM -0700, Lucas De Marchi wrote:
>From: Kai Vehmanen <kai.vehmanen at linux.intel.com>
>
>In systems with only a discrete i915 GPU, the acomp init will
>always timeout for the PCH HDA controller instance.
>
>Avoid the timeout by checking the PCI device hierarchy
>whether any display class PCI device can be found on the system,
>and at the same level as the HDA PCI device. If found, proceed
>with the acomp init, which will wait until i915 probe is complete
>and component binding can proceed. If no matching display
>device is found, the audio component bind can be safely skipped.
>
>The bind timeout will still be hit if the display is present
>in the system, but i915 driver does not bind to it by configuration
>choice or probe error. In this case the 60sec timeout will be
>hit.
>
>Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
>Acked-by: Lucas De Marchi <lucas.demarchi at intel.com>
>Link: https://lore.kernel.org/r/20220405123622.2874457-1-kai.vehmanen@linux.intel.com
>Signed-off-by: Takashi Iwai <tiwai at suse.de>
>(cherry picked from commit c9db8a30d9f091aa571b5fb7c3f434cde107b02c)
>[ applied on sound/for-linus - cherry-pick it in topic/core-for-CI to
>  unblock some CI tests ]
>Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

with the ack from Kai that it's ok to merge this temporarily to
topic/core-for-CI as it's already merged in sound tree, I pushed it.

thanks
Lucas De Marchi


More information about the Intel-gfx mailing list