[alsa-devel] HDA: Enable chipset gcap usage
I tweaked this as promised, and ran it through the checkpatch.pl utility from kernel git tree. I have tested it on my Asus Z62F laptop as well as a few systems in my work environment without issue.
Summary: hda_intel.c use gcap register to determine number of streams supported by southbridge.
This patch quieries the southbridge for the number of streams supported by the southbridge in most chipsets, and reads these values from the chipset directly. Most systems are hardwired for 4 streams in each direction, but newer chipsets change that capability. As a fallback, the old hardcoded method is still available.
Signed off by Tobin Davis tdavis@dsl-only.net
At Mon, 14 Jan 2008 11:44:27 -0800, Tobin Davis wrote:
I tweaked this as promised, and ran it through the checkpatch.pl utility from kernel git tree. I have tested it on my Asus Z62F laptop as well as a few systems in my work environment without issue.
Summary: hda_intel.c use gcap register to determine number of streams supported by southbridge.
This patch quieries the southbridge for the number of streams supported by the southbridge in most chipsets, and reads these values from the chipset directly. Most systems are hardwired for 4 streams in each direction, but newer chipsets change that capability. As a fallback, the old hardcoded method is still available.
Signed off by Tobin Davis tdavis@dsl-only.net
Thanks. I applied the patch after fixing some issues. (It didn't even compile :)
Takashi
Yea, I had fixed the GCAP oops in line 63 of the patch (1776 in hda_intel.c), but apparently sent the wrong patch version. My bad.
Thanks for the catch.
Tobin
On Tue, 2008-01-15 at 11:25 +0100, Takashi Iwai wrote:
At Mon, 14 Jan 2008 11:44:27 -0800, Tobin Davis wrote:
I tweaked this as promised, and ran it through the checkpatch.pl utility from kernel git tree. I have tested it on my Asus Z62F laptop as well as a few systems in my work environment without issue.
Summary: hda_intel.c use gcap register to determine number of streams supported by southbridge.
This patch quieries the southbridge for the number of streams supported by the southbridge in most chipsets, and reads these values from the chipset directly. Most systems are hardwired for 4 streams in each direction, but newer chipsets change that capability. As a fallback, the old hardcoded method is still available.
Signed off by Tobin Davis tdavis@dsl-only.net
Thanks. I applied the patch after fixing some issues. (It didn't even compile :)
Takashi
participants (2)
-
Takashi Iwai
-
Tobin Davis