[PATCH v2] ALSA: hda/i915 - skip acomp init if no matching display

Takashi Iwai tiwai at suse.de
Tue Apr 5 18:19:08 CEST 2022


On Tue, 05 Apr 2022 14:36:22 +0200,
Kai Vehmanen wrote:
> 
> 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>

Thanks, applied now.


Takashi


More information about the Alsa-devel mailing list