From patchwork Mon Jul 26 15:57:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Chiu X-Patchwork-Id: 1510129 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=RoB2poUS; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GYPhr0GSxz9t2g; Tue, 27 Jul 2021 01:58:03 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m82zP-0005Ab-FI; Mon, 26 Jul 2021 15:57:59 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m82zO-0005A3-0J for kernel-team@lists.ubuntu.com; Mon, 26 Jul 2021 15:57:58 +0000 Received: from localhost.localdomain (111-240-136-167.dynamic-ip.hinet.net [111.240.136.167]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id D27FF3F245 for ; Mon, 26 Jul 2021 15:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1627315077; bh=hN7Rf39lERpguph42fHOdbU0jQYRcayL1iCrbRBV12A=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=RoB2poUSEcYsCk42AES1hgBiuAFaL3xsumEG2hE69uxuCgagQXU2fJYOy+YRsFKA+ +V3mb/UpvaJV1d3j+xXa+oqrT7ciQnXOpezosSv1Hhg8tKReM3LsBqlijk+Eq6NX31 ppnQrQvH1UyDmHDBvFE/95PddxXwSD8NMlk8acq9ZwWYbsAdAFKhEk9+yMxzTJdB3U WNDCY0iDtRR2XqbADZwg3tCXJmqcytVNHVuAMQHUkKYtCMZQJ0pzo0dnILwt/Hp8N4 EJUygle8URx+ahk8lGd5CDA+3O6e1scQ/eZiL+n30KaBsSeiG/SZvsGyIfOL8mq8aM noktmOaclZRHg== From: chris.chiu@canonical.com To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][linux-firmware][F/H/I] Fix no sound card detected problem on HDA+DMIC with skylake driver Date: Mon, 26 Jul 2021 23:57:51 +0800 Message-Id: <20210726155752.426211-1-chris.chiu@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Chris Chiu BugLink: https://bugs.launchpad.net/bugs/1915117 [Impact] Skylake, Kabylake, Kabylake-refresh, Amberlake and some other platforms where audio is of SPT (PCH) type, HDA (with DSP capabilities) plus DMIC configuration is supported on these with skylake driver since kernel 5.8. However, no sound card can be detected w/o the topology binary file in /lib/firmware and corresponding ucm file. [Fix] The kernel config CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC needa to be enabled for the snd_soc_skl driver to support HDA+DMIC configuration. And the topology binary file and UCM files need to be located in the correct path based on Intel's suggestion. https://gist.github.com/crojewsk/4e6382bfb0dbfaaf60513174211f29cb. [Test] On the Skylake/Kabylake platforms with either the PCI device 8086:9d70 and 8086:9d71, boot up the machine and check the existence of the sound card by either 'aplay -l' or 'pactl list' command. [Where problems could occur] Should be low risk, it only affects limited Intel Platforms with particular PCI device IDs + HDA plus DMIC configuration. Chris Chiu (1): linux-firmware: add audio topology for HDA+DMIC with Skylake driver WHENCE | 33 +++++++++++++++++++++++++++++++++ skl_hda_dsp_generic-tplg.bin | Bin 0 -> 67152 bytes 2 files changed, 33 insertions(+) create mode 100644 skl_hda_dsp_generic-tplg.bin