diff options
author | David Henningsson <david.henningsson@canonical.com> | 2014-09-04 16:21:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-04 16:32:01 +0200 |
commit | 9dacb749b330ced3622cb314e6b96f47cc26fe52 (patch) | |
tree | 409e0a54ca0e24f5cba64f613e22e6fc142af7c5 | |
parent | ef92c645acc3afbad6cf1f327e53807f66b01116 (diff) | |
download | hda-emu-9dacb749b330ced3622cb314e6b96f47cc26fe52.tar.gz |
hda-emu: Add verbs for old Nvidia HDMI 8ch 7x
The driver sends these verbs on purpose. I can't verify that it
is correct to do so, but I hope the driver is doing the right thing here.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | hda-spec.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -263,6 +263,14 @@ static struct xhda_verb_table amdhdmi_verbs[] = { { } /* terminator */ }; +static struct xhda_verb_table nvhdmi_8ch_7x_verbs[] = { + { 0xf79, set_cached_verb, "nvhdmi_set_channel_allocation" }, + { 0xf7a, set_cached_verb, "nvhdmi_set_info_frame_checksum" }, + { 0xf98, set_cached_verb, "nvhdmi_set_audio_protection_on" }, + { 0xf99, set_cached_verb, "nvhdmi_set_audio_protection_off" }, + { } /* terminator */ +}; + /* */ @@ -428,6 +436,12 @@ static struct verb_ext_list extensions[] = { { .id = 0x1002aa01, .verbs = amdhdmi_verbs }, + { .id = 0x10de0002, .verbs = nvhdmi_8ch_7x_verbs }, + { .id = 0x10de0003, .verbs = nvhdmi_8ch_7x_verbs }, + { .id = 0x10de0005, .verbs = nvhdmi_8ch_7x_verbs }, + { .id = 0x10de0006, .verbs = nvhdmi_8ch_7x_verbs }, + { .id = 0x10de0007, .verbs = nvhdmi_8ch_7x_verbs }, + { } }; |