patch_nvhdmi.c: Add missing codec IDs, unify names
PATCH 1/1 patch_nvhdmi.c: Add missing codec IDs, unify names
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.
pci/hda/patch_nvhdmi.c +41 -20
@@ -540,26 +540,32 @@ static int patch_nvhdmi_2ch(struct hda_codec *codec)* patch entries */ static struct hda_codec_preset snd_hda_preset_nvhdmi[] = { - { .id =0x10de0002 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0003 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0005 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0006 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0007 , .name ="MCP79/7A HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de000a , .name ="GT220 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000b , .name ="GT21x HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000c , .name ="MCP89 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000d , .name ="GT240 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de0067 , .name ="MCP67 HDMI" , .patch = patch_nvhdmi_2ch }, - { .id =0x10de8001 , .name ="MCP73 HDMI" , .patch = patch_nvhdmi_2ch }, + { .id =0x10de0002 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0003 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0005 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0006 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0007 , .name ="MCP79/7A HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de000a , .name ="GPU 0a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000b , .name ="GPU 0b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000c , .name ="MCP89 HDMI" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000d , .name ="GPU 0d HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0010 , .name ="GPU 10 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0011 , .name ="GPU 11 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0012 , .name ="GPU 12 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0013 , .name ="GPU 13 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0014 , .name ="GPU 14 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0018 , .name ="GPU 18 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0019 , .name ="GPU 19 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001a , .name ="GPU 1a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001b , .name ="GPU 1b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001c , .name ="GPU 1c HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0040 , .name ="GPU 40 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0041 , .name ="GPU 41 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0042 , .name ="GPU 42 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0043 , .name ="GPU 43 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0044 , .name ="GPU 44 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0067 , .name ="MCP67 HDMI" , .patch = patch_nvhdmi_2ch }, + { .id =0x10de8001 , .name ="MCP73 HDMI" , .patch = patch_nvhdmi_2ch }, {}/* terminator */ };
@@ -572,6 +578,21 @@ MODULE_ALIAS("snd-hda-codec-id:10de000a");MODULE_ALIAS ("snd-hda-codec-id:10de000b" );MODULE_ALIAS ("snd-hda-codec-id:10de000c" );MODULE_ALIAS ("snd-hda-codec-id:10de000d" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0010" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0011" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0012" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0013" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0014" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0018" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0019" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001a" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001b" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001c" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0040" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0041" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0042" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0043" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0044" );MODULE_ALIAS ("snd-hda-codec-id:10de0067" );MODULE_ALIAS ("snd-hda-codec-id:10de8001" );
Signature · 3 lines
1.6.0.6 nvpublic
At Mon, 9 Aug 2010 22:41:40 -0600,
Quoted 10 lines · Stephen Warren
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.Signed-off-by Stephen Warren <[email protected]>
Applied now as is. It doesn't exceed too much over 80 columns ;)
Thanks,
Takashi
Quoted 90 lines
pci/hda/patch_nvhdmi.c +41
-20@@ -540,26 +540,32 @@ static int patch_nvhdmi_2ch(struct hda_codec *codec)* patch entries */ static struct hda_codec_preset snd_hda_preset_nvhdmi[] = { - { .id =0x10de0002 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0003 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0005 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0006 , .name ="MCP77/78 HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de0007 , .name ="MCP79/7A HDMI" , - .patch = patch_nvhdmi_8ch_7x }, - { .id =0x10de000a , .name ="GT220 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000b , .name ="GT21x HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000c , .name ="MCP89 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de000d , .name ="GT240 HDMI" , - .patch = patch_nvhdmi_8ch_89 }, - { .id =0x10de0067 , .name ="MCP67 HDMI" , .patch = patch_nvhdmi_2ch }, - { .id =0x10de8001 , .name ="MCP73 HDMI" , .patch = patch_nvhdmi_2ch }, + { .id =0x10de0002 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0003 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0005 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0006 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0007 , .name ="MCP79/7A HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de000a , .name ="GPU 0a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000b , .name ="GPU 0b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000c , .name ="MCP89 HDMI" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000d , .name ="GPU 0d HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0010 , .name ="GPU 10 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0011 , .name ="GPU 11 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0012 , .name ="GPU 12 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0013 , .name ="GPU 13 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0014 , .name ="GPU 14 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0018 , .name ="GPU 18 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0019 , .name ="GPU 19 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001a , .name ="GPU 1a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001b , .name ="GPU 1b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001c , .name ="GPU 1c HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0040 , .name ="GPU 40 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0041 , .name ="GPU 41 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0042 , .name ="GPU 42 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0043 , .name ="GPU 43 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0044 , .name ="GPU 44 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0067 , .name ="MCP67 HDMI" , .patch = patch_nvhdmi_2ch }, + { .id =0x10de8001 , .name ="MCP73 HDMI" , .patch = patch_nvhdmi_2ch }, {}/* terminator */ };@@ -572,6 +578,21 @@ MODULE_ALIAS("snd-hda-codec-id:10de000a");MODULE_ALIAS ("snd-hda-codec-id:10de000b" );MODULE_ALIAS ("snd-hda-codec-id:10de000c" );MODULE_ALIAS ("snd-hda-codec-id:10de000d" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0010" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0011" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0012" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0013" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0014" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0018" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0019" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001a" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001b" ); +MODULE_ALIAS ("snd-hda-codec-id:10de001c" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0040" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0041" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0042" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0043" ); +MODULE_ALIAS ("snd-hda-codec-id:10de0044" );MODULE_ALIAS ("snd-hda-codec-id:10de0067" );MODULE_ALIAS ("snd-hda-codec-id:10de8001" );Signature · 8 lines
1.6.0.6 nvpublic _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 12 lines · Takashi Iwai
At Mon, 9 Aug 2010 22:41:40 -0600,
Quoted 9 lines · Stephen Warren
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.
Quoted 3 lines
Quoted 1 line
Signed-off-by Stephen Warren <[email protected]>Applied now as is. It doesn't exceed too much over 80 columns ;)
Does such a change automatically go into previous stable kernels as well as the current development kernel? Or, do I/you need to specifically request this? I'm hoping to get the patches for this and the previous old_pin_detect fix widely distributed to solve the issues some end-users are seeing.
I guess this is a little moot, since many distros seem to update the ALSA driver directly, rather than using the version in the kernel they build.
Related, one end-user asked when the alsa-lib patches to expose N HDMI PCMs per GPU would be available in distros. Does alsa-lib make scheduled releases, so I could predict when the current git would be picked up by a distro?
Thanks.
Quoted 29 lines
Quoted 29 lines
pci/hda/patch_nvhdmi.c +19
-0@@ -540,26 +540,32 @@ static int patch_nvhdmi_2ch(struct hda_codec *codec)* patch entries */ static struct hda_codec_preset snd_hda_preset_nvhdmi[] = { + { .id =0x10de0002 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0003 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0005 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0006 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0007 , .name ="MCP79/7A HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de000a , .name ="GPU 0a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000b , .name ="GPU 0b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000c , .name ="MCP89 HDMI" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000d , .name ="GPU 0d HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0010 , .name ="GPU 10 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0011 , .name ="GPU 11 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0012 , .name ="GPU 12 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0013 , .name ="GPU 13 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0014 , .name ="GPU 14 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0018 , .name ="GPU 18 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0019 , .name ="GPU 19 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001a , .name ="GPU 1a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001b , .name ="GPU 1b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001c , .name ="GPU 1c HDMI/DP" , .patch = patch_nvhdmi_8ch_89 },
Signature · 1 line
nvpublic
At Tue, 31 Aug 2010 11:22:38 -0700,
Quoted 14 lines · Stephen Warren
Quoted 12 lines · Takashi Iwai
At Mon, 9 Aug 2010 22:41:40 -0600,
Quoted 9 lines · Stephen Warren
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Stephen Warren <[email protected]>Applied now as is. It doesn't exceed too much over 80 columns ;)
Does such a change automatically go into previous stable kernels as well as the current development kernel?
If the patch contains Cc to [email protected], it'll be fed to stable kernel automatically. See Documentation/stable_kernel_rules.txt.
Quoted 1 line
Or, do I/you need to specifically request this?
If you think it's mandatory for stable kernel, go ahead.
Quoted 3 lines
I'm
hoping to get the patches for this and the previousold_pin_detectfix widely distributed to solve the issues some end-users are seeing.
Honestly, If you wanted to put to stable kernel tree, you shouldn't have mixed the changes for codec id strings but simply added the new id numbers. This would have made the changes much simpler and easier to apply, so I could have put a CC to stable kernel tree by myself. But, merging several things into a single patch hesitated me for doing it.
Quoted 6 lines
I guess this is a little moot, since many distros seem to update the ALSA driver directly, rather than using the version in the kernel they build.
Related, one end-user asked when the alsa-lib patches to expose N HDMI PCMs per GPU would be available in distros. Does alsa-lib make scheduled releases, so I could predict when the current git would be picked up by a distro?
No fixed schedule is defined, so far.
Takashi
Quoted 35 lines
Thanks.
Quoted 29 lines
Quoted 29 lines
pci/hda/patch_nvhdmi.c +19
-0@@ -540,26 +540,32 @@ static int patch_nvhdmi_2ch(struct hda_codec *codec)* patch entries */ static struct hda_codec_preset snd_hda_preset_nvhdmi[] = { + { .id =0x10de0002 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0003 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0005 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0006 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0007 , .name ="MCP79/7A HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de000a , .name ="GPU 0a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000b , .name ="GPU 0b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000c , .name ="MCP89 HDMI" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000d , .name ="GPU 0d HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0010 , .name ="GPU 10 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0011 , .name ="GPU 11 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0012 , .name ="GPU 12 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0013 , .name ="GPU 13 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0014 , .name ="GPU 14 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0018 , .name ="GPU 18 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0019 , .name ="GPU 19 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001a , .name ="GPU 1a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001b , .name ="GPU 1b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de001c , .name ="GPU 1c HDMI/DP" , .patch = patch_nvhdmi_8ch_89 },Signature · 1 line
nvpublic
Quoted 34 lines · Takashi Iwai
At Tue, 31 Aug 2010 11:22:38 -0700,
Quoted 14 lines · Stephen Warren
Quoted 12 lines · Takashi Iwai
At Mon, 9 Aug 2010 22:41:40 -0600,
Quoted 9 lines · Stephen Warren
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Stephen Warren <[email protected]>Applied now as is. It doesn't exceed too much over 80 columns ;)
Does such a change automatically go into previous stable kernels as well as the current development kernel?
If the patch contains Cc to [email protected], it'll be fed to stable kernel automatically. See
Documentation/stable_kernel_rules.txt.Quoted 1 line
Or, do I/you need to specifically request this?
If you think it's mandatory for stable kernel, go ahead.
Quoted 3 lines
I'm
hoping to get the patches for this and the previousold_pin_detectfix widely distributed to solve the issues some end-users are seeing.
Quoted 6 lines
Honestly, If you wanted to put to stable kernel tree, you shouldn't have mixed the changes for codec id strings but simply added the new id numbers. This would have made the changes much simpler and easier to apply, so I could have put a CC to stable kernel tree by myself. But, merging several things into a single patch hesitated me for doing it.
Thinking about this some more, I'd like to see this patch in the stable kernels; together with the "old_pin_detect" fix that's already there, it'll solve the most pressing of current end-user issues, and provide an easy widespread distribution of the fix.
Would it help if I resubmitted a patch intended just for the stable kernels that simply adds the new entries and doesn't touch existing ones? If so, which kernel should I base this off; 2.6.35.4?
Thanks for all your help.
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
Quoted 21 lines
pci/hda/patch_nvhdmi.c +12
-0@@ -540,26 +540,32 @@ static int patch_nvhdmi_2ch(struct hda_codec *codec)* patch entries */ static struct hda_codec_preset snd_hda_preset_nvhdmi[] = { + { .id =0x10de0002 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0003 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0005 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0006 , .name ="MCP77/78 HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de0007 , .name ="MCP79/7A HDMI" , .patch = patch_nvhdmi_8ch_7x }, + { .id =0x10de000a , .name ="GPU 0a HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000b , .name ="GPU 0b HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000c , .name ="MCP89 HDMI" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de000d , .name ="GPU 0d HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0010 , .name ="GPU 10 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0011 , .name ="GPU 11 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 }, + { .id =0x10de0012 , .name ="GPU 12 HDMI/DP" , .patch = patch_nvhdmi_8ch_89 },
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
pci/hda/patch_nvhdmi.c static int patch_nvhdmi_2ch(struct hda_codec *codec) · line 561
Quoted 8 lines
pci/hda/patch_nvhdmi.c +7
-0+ { .id = 0x10de0013, .name = "GPU 13 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de0014, .name = "GPU 14 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de0018, .name = "GPU 18 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de0019, .name = "GPU 19 HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de001a, .name = "GPU 1a HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de001b, .name = "GPU 1b HDMI/DP", .patch = patch_nvhdmi_8ch_89 }, + { .id = 0x10de001c, .name = "GPU 1c HDMI/DP", .patch = patch_nvhdmi_8ch_89 },
--
nvpublic
At Fri, 10 Sep 2010 08:56:59 -0700,
Quoted 43 lines · Stephen Warren
Quoted 34 lines · Takashi Iwai
At Tue, 31 Aug 2010 11:22:38 -0700,
Quoted 14 lines · Stephen Warren
Quoted 12 lines · Takashi Iwai
At Mon, 9 Aug 2010 22:41:40 -0600,
Quoted 9 lines · Stephen Warren
* Add missing codec IDs.
* Modify some existing codec names for discrete GPUs to match newly added IDs. Note: existing names were a mixture of marketing and engineering GPU names. Equally, there's no reason that codec IDs have to be specific to a particular GPU or board, so identify codecs in a less marketing-oriented fashion.
* Reformat codec ID table so it's easier to read, for me at least.Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Stephen Warren <[email protected]>Applied now as is. It doesn't exceed too much over 80 columns ;)
Does such a change automatically go into previous stable kernels as well as the current development kernel?
If the patch contains Cc to [email protected], it'll be fed to stable kernel automatically. See
Documentation/stable_kernel_rules.txt.Quoted 1 line
Or, do I/you need to specifically request this?
If you think it's mandatory for stable kernel, go ahead.
Quoted 3 lines
I'm
hoping to get the patches for this and the previousold_pin_detectfix widely distributed to solve the issues some end-users are seeing.Quoted 6 lines
Honestly, If you wanted to put to stable kernel tree, you shouldn't have mixed the changes for codec id strings but simply added the new id numbers. This would have made the changes much simpler and easier to apply, so I could have put a CC to stable kernel tree by myself. But, merging several things into a single patch hesitated me for doing it.
Quoted 8 lines
Thinking about this some more, I'd like to see this patch in the stable kernels; together with the "
old_pin_detect" fix that's already there, it'll solve the most pressing of current end-user issues, and provide an easy widespread distribution of the fix.Would it help if I resubmitted a patch intended just for the stable kernels that simply adds the new entries and doesn't touch existing ones? If so, which kernel should I base this off; 2.6.35.4?
Well, renaming is mostly harmless, so I don't think it'd be a problem, as long as the patch can be applied cleanly to old kernels. Feel free to submit by yourself :)
thanks,
Takashi