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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> ---
>  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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux