From nobody Wed Jun 02 21:07:40 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 506B51031B57 for ; Wed, 2 Jun 2021 21:07:53 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FwM7D34VPz4nT9 for ; Wed, 2 Jun 2021 21:07:52 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82b.google.com with SMTP id c10so2888291qtx.10 for ; Wed, 02 Jun 2021 14:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=ATz47SXlEgBFHC4pls58Wkhf7tkeeTKZ3pIh6jU43Ig=; b=HMRhgzLL7+xoeczj1G3rJQOa2D3KoTUQeBVPAj0HruDB8Lkz3Vbb7Nb7geP+jLQ3er gPmHQcNZWk0sKsMGVgI1CzXqOf1i6KXqghnTTTMAuJEskZcXbWlNEtfm3slgIQABvlQx mF7YklMpDNeA3Aldhm7uBtI1qfwNukqrI/bYmWEbTTjMz9PfDGI5MLnkbyWDxo0CfMpK FgzWlQ3hNjgLWzORPPRik1sQJyDfTkkf02zgS/x8rSYBqq/U4vpzulFAzJ6wxDnKDfl4 SXSPY1fcRlsqGApIP/zGDy2db2OiidINSH6qaYT9gA+W63c4HTX1cKzOeC5nkaeBE+CV UfzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ATz47SXlEgBFHC4pls58Wkhf7tkeeTKZ3pIh6jU43Ig=; b=Wpuxxs7+aWxJaUvljtdpEKpWAnq8xYOP4VlqkxXFuPK7BURf1BVd933/AS0sELqA8o CaTRTfefCFX+98mO2KQG/XOWCSIwLQiGYWEYkinURPtirGwupWSZGbbqrH+bYscdzigi aNlqqErfiK1rM9t+8T9Zboaqwe282JwwcGqgYW/6cjLY0yr2dtf1nRyW/dm5z20FfcPo 7zPNqFNrluQ+b7vr8aJjomZoqQbU4hbAsuJVNfPclEve+M9TunYaGkKGlV78WF72xyvP Yy4319VTNZwLmOPLSn38LK0a2Cph0ok4vsek/NmlMAyyzkN5p0a0/DoQr94hQCoHfKwx 6eaA== X-Gm-Message-State: AOAM530pzWwvwycy5hgVssfaE0FejvfWovna1uEN+/7nX++1xnlsPOS+ JI7JmnqeI6dRrFkz6gRkNrpw21R6nudolCvA2cR6YlkbYVSpWgUG X-Google-Smtp-Source: ABdhPJwr0NISNAx2oqvimqRitNW/K0T4LknisT3NdbCa3fcNc44wUV/9p9SLzCIkS6AguchT8D88Fj4JX8wGPmOQDts= X-Received: by 2002:ac8:5986:: with SMTP id e6mr26419225qte.101.1622668071045; Wed, 02 Jun 2021 14:07:51 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Warner Losh Date: Wed, 2 Jun 2021 15:07:40 -0600 Message-ID: Subject: HDA patches To: FreeBSD Current Content-Type: multipart/alternative; boundary="000000000000f6aa2605c3ced998" X-Rspamd-Queue-Id: 4FwM7D34VPz4nT9 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=HMRhgzLL; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82b) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_TWO(0.00)[2]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.979]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::82b:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82b:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::82b:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: Y --000000000000f6aa2605c3ced998 Content-Type: text/plain; charset="UTF-8" A while ago (too long), K Staring ported a bunch of configuration data from Linux's HDA driver(s) to FreeBSD. These were sent as a series of pull requests to github, but never landed. I've taken the latest version of this, forward ported it to -current and have uploaded the results in this code review https://reviews.freebsd.org/D30619 for comment and testing. It affects mostly laptops with hda drivers from 2016-2019 if I'm reading the comments right. They fix various sound problems (like the headphones not working). These were originally in https://github.com/freebsd/freebsd-src/pull/139 through https://github.com/freebsd/freebsd-src/pull/150 and I've squashed and rebased forward. Those 12 pull requests have the discussions to date on these patches. Warner --000000000000f6aa2605c3ced998--