Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1200078
| From | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3.12 013/123] ALSA: hda_intel: apply the Seperate stream_tag for Skylake |
| Date | 2015-08-04 17:30 +0200 |
| Message-ID | <pTMkc-65J-49@gated-at.bofh.it> (permalink) |
| References | <pTLHr-552-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Libin Yang <libin.yang@intel.com>
3.12-stable review patch. If anyone has any objections, please let me know.
===============
commit d6795827bd79b28fef1abdaf7e525fcca506b831 upstream.
The total stream number of Skylake's input and output stream
exceeds 15, which will cause some streams do not work because
of the overflow on SDxCTL.STRM field if using the legacy
stream tag allocation method.
This patch uses the new stream tag allocation method by add
the flag AZX_DCAPS_SEPARATE_STREAM_TAG for Skylake platform.
Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
sound/pci/hda/hda_intel.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 15375bd9bd68..9bb71f02d848 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -622,6 +622,9 @@ enum {
AZX_DCAPS_COUNT_LPIB_DELAY | AZX_DCAPS_PM_RUNTIME | \
AZX_DCAPS_I915_POWERWELL)
+#define AZX_DCAPS_INTEL_SKYLAKE \
+ (AZX_DCAPS_INTEL_PCH | AZX_DCAPS_SEPARATE_STREAM_TAG)
+
/* quirks for ATI SB / AMD Hudson */
#define AZX_DCAPS_PRESET_ATI_SB \
(AZX_DCAPS_ATI_SNOOP | AZX_DCAPS_NO_TCSEL | \
@@ -4091,7 +4094,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
.driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
/* Sunrise Point-LP */
{ PCI_DEVICE(0x8086, 0x9d70),
- .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH },
+ .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_SKYLAKE },
/* Haswell */
{ PCI_DEVICE(0x8086, 0x0a0c),
.driver_data = AZX_DRIVER_HDMI | AZX_DCAPS_INTEL_HASWELL },
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3.12 000/123] 3.12.46-stable review Jiri Slaby <jslaby@suse.cz> - 2015-08-04 16:50 +0200
[PATCH 3.12 001/123] mfd: cros_ec: cleanup: cros_ec.c is GPL licensed, like all the others. Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
[PATCH 3.12 003/123] iio: light: hid-sensor-als.c: Fix memory leak in probe() Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
[PATCH 3.12 009/123] ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
[PATCH 3.12 010/123] ALSA: hda_intel: Add DeviceIDs for Sunrise Point-LP Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
[PATCH 3.12 013/123] ALSA: hda_intel: apply the Seperate stream_tag for Skylake Jiri Slaby <jslaby@suse.cz> - 2015-08-04 17:30 +0200
Re: [PATCH 3.12 000/123] 3.12.46-stable review Guenter Roeck <linux@roeck-us.net> - 2015-08-04 21:40 +0200
Re: [PATCH 3.12 000/123] 3.12.46-stable review Jiri Slaby <jslaby@suse.cz> - 2015-08-05 09:30 +0200
Re: [PATCH 3.12 000/123] 3.12.46-stable review Shuah Khan <shuahkh@osg.samsung.com> - 2015-08-04 22:30 +0200
csiph-web