On Mon, Jan 09, 2017 at 03:52:54PM +0100, Martin Ziemer wrote:
> 
> >Synopsis:    Distorted audio on braswell
> >Category:    ???
> >Environment:
>       System      : OpenBSD 6.0
>       Details     : OpenBSD 6.0-current (GENERIC) #0: Mon Jan  9 15:29:23 CET 
> 2017
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
>       Audio on my new braswell laptop is (was) distorted.
> >How-To-Repeat:
>       Play audio on braswell-based system.
> >Fix:
>       Add PCI_PRODUCT_INTEL_BSW_HDA to cards which need NOSNOOP.
>     The diff in the next lines solved the problem here. Source was
>     checked out this morning.
> 
>     Index: azalia.c
>     ===================================================================
>     RCS file: /cvs/src/sys/dev/pci/azalia.c,v
>     retrieving revision 1.230
>     diff -u -p -r1.230 azalia.c
>     --- azalia.c    8 Dec 2016 17:23:33 -0000       1.230
>     +++ azalia.c    9 Jan 2017 14:49:33 -0000
>     @@ -456,6 +456,7 @@ azalia_configure_pci(azalia_t *az)
>             case PCI_PRODUCT_INTEL_100SERIES_LP_HDA:
>             case PCI_PRODUCT_INTEL_C600_HDA:
>             case PCI_PRODUCT_INTEL_C610_HDA:
>     +       case PCI_PRODUCT_INTEL_BSW_HDA:
>                     reg = azalia_pci_read(az->pc, az->tag,
>                         INTEL_PCIE_NOSNOOP_REG);
>                     reg &= INTEL_PCIE_NOSNOOP_MASK;

Thanks, committed.

Reply via email to