[PATCH v2] ALSA: hda/hdmi: fix silent stream for first playback to DP

Takashi Iwai tiwai at suse.de
Thu Dec 10 19:58:22 CET 2020


On Thu, 10 Dec 2020 18:44:45 +0100,
Kai Vehmanen wrote:
> 
> A problem exists in enabling silent stream when connection type is
> DisplayPort. Silent stream programming is completed when a new DP
> receiver is connected, but infoframe transmission does not actually
> start until PCM is opened for the first time. This can result in audible
> gap of multiple seconds. This only affects the first PCM open.
> 
> Fix the issue by properly assigning a converter to the silent stream,
> and modifying the required stream ID programming sequence.
> 
> This change only affects Intel display audio codecs.
> 
> BugLink: https://github.com/thesofproject/linux/issues/2468
> Fixes: 951894cf30f4 ("ALSA: hda/hdmi: Add Intel silent stream support")
> Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> ---
>  sound/pci/hda/patch_hdmi.c | 98 +++++++++++++++++++++++++++++++++-----
>  1 file changed, 86 insertions(+), 12 deletions(-)
> 
> v2 changes:
>  - locking missing in silent_stream_disable()

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list