diff options
author | Nikhil Mahale <nmahale@nvidia.com> | 2019-11-19 14:17:09 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-19 11:51:10 +0100 |
commit | 9c32fea836928d7a25a83b337f268e533cfc5c3d (patch) | |
tree | 36e27471f42993b0c9523ec96d5f140c42e98f50 /fs | |
parent | 5204a05d70d9354e6dd27219275c4b6725443dc4 (diff) | |
download | linux-stable-9c32fea836928d7a25a83b337f268e533cfc5c3d.tar.gz linux-stable-9c32fea836928d7a25a83b337f268e533cfc5c3d.tar.bz2 linux-stable-9c32fea836928d7a25a83b337f268e533cfc5c3d.zip |
ALSA: hda - Add DP-MST support for non-acomp codecs
This patch make it possible for non-acomp codecs to set
dyn_pcm_assign/dp_mst and get DP-MST audio support.
Document change notification HDA040-A for the Intel High Definition
Audio 1.0a specification introduces a Device Select verb for Digital
Display Pin Widgets that are multi-stream capable. This verb selects
a Device Entry that is used by subsequent Pin Widget verbs.
Once the Device Entry is selected, all subsequent Pin Widget verbs
controlling the sink device will be directed to the selected Device
Entry until the Device Select verb is updated with a new value.
These Pin Widget verbs include:
* Connection Select
* Get Connection List Entry
* Amplifier Gain/Mute
* Power State
* Pin Widget Control
* ELD Data
* DIP-Size
* DIP-Index
* DIP-Data
* DIP-XmitCtrl
* Content Protection Control
* ASP Channel Mapping
This patch adds calls to snd_hda_set_dev_select() to direct each of
these Pin Widget control verbs to the correct Device Entry.
snd_hda_get_connections() does not return per-device connection
list, therefore make use snd_hda_get_raw_connections() instead of
snd_hda_get_connections().
Signed-off-by: Nikhil Mahale <nmahale@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Link: https://lore.kernel.org/r/20191119084710.29267-4-nmahale@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions