[alsa-devel] [PATCH 2/4] hda-emu: Add verbs for old Nvidia HDMI 8ch 7x

David Henningsson david.henningsson at canonical.com
Thu Sep 4 16:21:24 CEST 2014


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 at canonical.com>
---
 hda-spec.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/hda-spec.c b/hda-spec.c
index fe2ff36..b03d06a 100644
--- a/hda-spec.c
+++ b/hda-spec.c
@@ -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 },
+
 	{ }
 };
 
-- 
1.9.1



More information about the Alsa-devel mailing list