[PATCH v2] ALSA: hda/proc - print DP-MST connections

Takashi Iwai tiwai at suse.de
Tue Dec 8 21:28:04 CET 2020


On Tue, 08 Dec 2020 19:57:36 +0100,
Kai Vehmanen wrote:
> 
> To help in debugging issues with DisplayPort Multi-Stream Transport (aka
> DP-MST) support, print information of active connections for each device
> of a display audio pin widget.
> 
> Example output with the patch with two monitors connected to a DP-MST hub:
> 
> Devices: 4
>      Dev 00: PD = 0, ELDV = 0, IA = 0, Connections [ 0x03* 0x05 0x07 0x09 ]
>      Dev 01: PD = 1, ELDV = 1, IA = 0, Connections [ 0x03* 0x05 0x07 0x09 ]
>     *Dev 02: PD = 1, ELDV = 1, IA = 0, Connections [ 0x03 0x05* 0x07 0x09 ]
>      Dev 03: PD = 0, ELDV = 0, IA = 0, Connections [ 0x03* 0x05 0x07 0x09 ]
> Connection: 4
>      0x03 0x05* 0x07 0x09
> 
> Format of existing "Connection:" entry is left intact to keep
> compatibility.
> 
> Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> ---
>  sound/pci/hda/hda_proc.c | 38 +++++++++++++++++++++++++++++++++++++-
>  1 file changed, 37 insertions(+), 1 deletion(-)
> 
> v2 changes:
>  - add NULL check to conn array allocation
>  - put a few functions to a single line as they fit within 100 columns
>  - reformat the first paragraph of commit message

Applied now.  Thanks.


Takashi


More information about the Alsa-devel mailing list