summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorLibin Yang <libin.yang@linux.intel.com>2015-12-16 16:48:15 +0800
committerTakashi Iwai <tiwai@suse.de>2016-01-29 07:34:56 +0100
commita76056f2e57ec2825d6ae4be016596dd37300750 (patch)
treefa6bd2215b738b28d1b593f917668216c1a56552 /include/sound
parent2bf3c85a5b167a6c87d9d7d655af85d85d51769b (diff)
ALSA: hda - hdmi dynamically bind PCM to pin when monitor hotplug
Dynamically bind/unbind the PCM to pin when HDMI/DP monitor hotplug. When monitor is connected, find a proper PCM for the monitor. When monitor is disconnected, unbind the PCM from the pin. The binding policy (use Intel platform as example) is: 1. Try to use the legacy pin-pcm mapping for the device entry 0 of the pin. 2. If step 1 fails, try to bind pin to the backup PCMs. For example, on Intel platform, if DP MST is enabled, 5 PCMs will be created. PCM 3, PCM 7, PCM 8 are supposed to be used by device entry 0 of pin 5, pin 6 and pin 7. PCM 9 and PCM 10 are the backup PCMs. 3. If step 2 fails, try to find any PCM to bind to the pin. Signed-off-by: Libin Yang <libin.yang@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions