From: Takashi Iwai <tiwai@suse.de>
To: "Heasley, Seth" <seth.heasley@intel.com>
Cc: Jaroslav Kysela <perex@perex.cz>,
David Henningsson <david.henningsson@canonical.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Ralston, James D" <james.d.ralston@intel.com>
Subject: Re: [PATCH 1/1] hda_intel: switch Intel chipsets to COMBO position_fix
Date: Thu, 14 Jun 2012 11:42:37 +0200 [thread overview]
Message-ID: <s5hsjdyp6uq.wl%tiwai@suse.de> (raw)
In-Reply-To: <DEC3922D1904474A8862C7BFF516EA9A459FAAF9@ORSMSX101.amr.corp.intel.com>
At Wed, 13 Jun 2012 17:58:57 +0000,
Heasley, Seth wrote:
>
> >> This patch implements the COMBO position_fix for recent Intel client
> >chipsets.
> >>
> >> Signed-off-by: Seth Heasley <seth.heasley@intel.com>
> >
> >Thanks for the patch.
> >But could you give a bit more context why this change is needed?
>
> The COMBO method was recommended for Intel chipsets by a certain audio maintainer. ;) It was also tested on the most recent Intel chips because we were seeing warning messages when using DMA positioning ("Invalid position buffer, using LPIB read method instead.").
Could you resend the patch with such some reasonable comments in the
changelog?
thanks,
Takashi
> >> ---
> >> sound/pci/hda/hda_intel.c | 11 ++++++++---
> >> 1 files changed, 8 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> >> index 2b6392b..466a88c 100644
> >> --- a/sound/pci/hda/hda_intel.c
> >> +++ b/sound/pci/hda/hda_intel.c
> >> @@ -535,6 +535,7 @@ enum {
> >> #define AZX_DCAPS_BUFSIZE (1 << 21) /* no buffer size
> >alignment */
> >> #define AZX_DCAPS_ALIGN_BUFSIZE (1 << 22) /* buffer size
> >alignment */
> >> #define AZX_DCAPS_4K_BDLE_BOUNDARY (1 << 23) /* BDLE in 4k boundary
> >*/
> >> +#define AZX_DCAPS_POSFIX_COMBO (1 << 24) /* Use COMBO as
> >default */
> >>
> >> /* quirks for ATI SB / AMD Hudson */
> >> #define AZX_DCAPS_PRESET_ATI_SB \
> >> @@ -2728,6 +2729,10 @@ static int __devinit check_position_fix(struct azx
> >*chip, int fix)
> >> snd_printd(SFX "Using LPIB position fix\n");
> >> return POS_FIX_LPIB;
> >> }
> >> + if (chip->driver_caps & AZX_DCAPS_POSFIX_COMBO) {
> >> + snd_printd(SFX "Using COMBO position fix\n");
> >> + return POS_FIX_COMBO;
> >> + }
> >> return POS_FIX_AUTO;
> >> }
> >>
> >> @@ -3240,7 +3245,7 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
> >> /* CPT */
> >> { PCI_DEVICE(0x8086, 0x1c20),
> >> .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_SCH_SNOOP |
> >> - AZX_DCAPS_BUFSIZE },
> >> + AZX_DCAPS_BUFSIZE | AZX_DCAPS_POSFIX_COMBO },
> >> /* PBG */
> >> { PCI_DEVICE(0x8086, 0x1d20),
> >> .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_SCH_SNOOP | @@ -
> >3248,11
> >> +3253,11 @@ static DEFINE_PCI_DEVICE_TABLE(azx_ids) = {
> >> /* Panther Point */
> >> { PCI_DEVICE(0x8086, 0x1e20),
> >> .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_SCH_SNOOP |
> >> - AZX_DCAPS_BUFSIZE},
> >> + AZX_DCAPS_BUFSIZE | AZX_DCAPS_POSFIX_COMBO },
> >> /* Lynx Point */
> >> { PCI_DEVICE(0x8086, 0x8c20),
> >> .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_SCH_SNOOP |
> >> - AZX_DCAPS_BUFSIZE},
> >> + AZX_DCAPS_BUFSIZE | AZX_DCAPS_POSFIX_COMBO },
> >> /* SCH */
> >> { PCI_DEVICE(0x8086, 0x811b),
> >> .driver_data = AZX_DRIVER_SCH | AZX_DCAPS_SCH_SNOOP |
> >> --
> >> 1.7.4.4
> >>
>
prev parent reply other threads:[~2012-06-14 9:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-12 23:30 Seth Heasley
2012-06-13 6:40 ` Takashi Iwai
2012-06-13 17:58 ` Heasley, Seth
2012-06-14 9:42 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hsjdyp6uq.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=david.henningsson@canonical.com \
--cc=james.d.ralston@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=seth.heasley@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®