From patchwork Mon Dec 4 14:09:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Vehmanen X-Patchwork-Id: 13478511 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5DCF9C10DCE for ; Mon, 4 Dec 2023 14:22:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A6F710E1E3; Mon, 4 Dec 2023 14:22:03 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B32910E2EA for ; Mon, 4 Dec 2023 14:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701699720; x=1733235720; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=H9jEJcfaCMdjLM8CmqY8/smZbvXoD0x/WzXgqKWxXUU=; b=jHOL7E81VvB61vQQ8AIUQaDdPttWXCv8ssuCpNr8hy/KVOUzX7xV+KZ4 9oNOAEO42IdoI1ep3lbFVth9O7Qf/6YC9c3lXFTrCJUcs/xRLv4BdRy6a 8Ftc0YfpJwNT/N/WSUlCV1GF/6XEEV3V4HMGhng+PaY/Cfoj5H/D3V3fU ZWUE+M/ZfMQolmQs1V/hDCgJHY4Ml988l7U2GFAuANJ3qAyAsuw8XW+YR waa0QDUoIVZuOIpfMrhvmDS0Yw8MXUZOzdSJ+PeorVXD6DIo4bpGON7m0 INh22UZyuYZeQH0ioXNQwnVl3SOon7ooW7opL2bQCF/QAlka5aRSZoSp0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="384144495" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="384144495" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 06:09:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="763958993" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="763958993" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by orsmga007.jf.intel.com with ESMTP; 04 Dec 2023 06:09:58 -0800 From: Kai Vehmanen To: intel-gfx@lists.freedesktop.org Date: Mon, 4 Dec 2023 16:09:53 +0200 Message-ID: <20231204140955.2020491-2-kai.vehmanen@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> References: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 1/3] ALSA: hda/hdmi: add connect-all quirk for NUC5CPYB X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Add one more older NUC model that requires quirk to force all pins to be connected. Without this quirk, only one pin is registered as a PCM and this leads to failures in monitor connection tests (igt test kms_hdmi_inject@inject-audio). Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/3 Signed-off-by: Kai Vehmanen --- sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 1cde2a69bdb4..b152c941414f 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1994,6 +1994,7 @@ static const struct snd_pci_quirk force_connect_list[] = { SND_PCI_QUIRK(0x103c, 0x8711, "HP", 1), SND_PCI_QUIRK(0x103c, 0x8715, "HP", 1), SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1), + SND_PCI_QUIRK(0x8086, 0x2060, "Intel NUC5CPYB", 1), SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", 1), {} }; From patchwork Mon Dec 4 14:09:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Vehmanen X-Patchwork-Id: 13478512 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C2ABC10DC1 for ; Mon, 4 Dec 2023 14:22:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E3D0F10E270; Mon, 4 Dec 2023 14:22:08 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 090B610E1E3 for ; Mon, 4 Dec 2023 14:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701699722; x=1733235722; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OGstolXpIedzGUKtmrmL/6ogCKaPot/nwyQzgCQITOE=; b=nG2Bm/21gywrCFy7K9G+GaXReBH9Smu+DSjYNuG4XurAjZoZi+Od/IQi YeM4Z9RiV4WcZ9igl9f3PLR5mT+QL+y5fVNUqSj6/JCcGewYuO5WMD981 YEXIDMfyq+CGzKBMEv9GBJ1N+dbHim1wnyJUs3UXDJk4WOEkJJgC+5Ao0 X6PVXh3jgAw5duov1TDW5qZhvui4+4AbJmKzjNRbhdRF6fOcXqMHmH2vw mDKpEa8ZfF0Gw8hi/qk/+hMuf8+LrgRz+aR9Oogxi/uyUgtAZkgFX2l0f WIlBasv38pHDNbejuhFcdmYuIXxN3aRAQMbkTd4AMZq3Nz5FeZ+ZiyTfL Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="384144512" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="384144512" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 06:10:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="763959000" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="763959000" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by orsmga007.jf.intel.com with ESMTP; 04 Dec 2023 06:09:59 -0800 From: Kai Vehmanen To: intel-gfx@lists.freedesktop.org Date: Mon, 4 Dec 2023 16:09:54 +0200 Message-ID: <20231204140955.2020491-3-kai.vehmanen@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> References: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/3] ALSA: hda/hdmi: add connect-all quirk for ASUSTeK Prime B560M-A X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On multiple sysstem with Prime B560M-A with Intel Sky Lake or Kaby Lake, the display codec pins are not registered properly without the connect-all quirk. Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/3 Signed-off-by: Kai Vehmanen --- sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index b152c941414f..5232c46a32a7 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1993,6 +1993,7 @@ static const struct snd_pci_quirk force_connect_list[] = { SND_PCI_QUIRK(0x103c, 0x871a, "HP", 1), SND_PCI_QUIRK(0x103c, 0x8711, "HP", 1), SND_PCI_QUIRK(0x103c, 0x8715, "HP", 1), + SND_PCI_QUIRK(0x1043, 0x8694, "ASUS", 1), /* SKL/KBL + PRIME B560M-A */ SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1), SND_PCI_QUIRK(0x8086, 0x2060, "Intel NUC5CPYB", 1), SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", 1), From patchwork Mon Dec 4 14:09:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai Vehmanen X-Patchwork-Id: 13478513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F281C46CA0 for ; Mon, 4 Dec 2023 14:22:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6ABE910E26D; Mon, 4 Dec 2023 14:22:08 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3826710E26D for ; Mon, 4 Dec 2023 14:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701699724; x=1733235724; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z2lgRiLNGzbE0GftvYDhIPtXZEO/Qb50UxpTo5e9FUo=; b=lbiTE2CTYf6diNsk3zwVYaUtf2F3NEa7Y1cttB6bLb6GxMN8a2740uk8 jU5W22HZaqd6ERPvNh5SkOu80wCq9XBK+FdwbRhrh/ktzfAwtZbQ5CMy+ 3dwVDbYZHgEMIvT7n7cWMPKEuAFXao2+Xe+Kq6SSpa+NFQUlZylLJ2QWN 8QvyrpQSrkW7tw0R0uJo7ucNK7tfHlziOmyTgkJpP5S6Ql7LYhmTTqDnz +CY2NgmKx4wMcYtNjyNmYRhs8Us/Kc0q0/hOLY28T1QfOiqgK1xSzhJsR gvdkUrVrh5fibfKPJy0DsjjlJoLykr0iKSViMJ05X/OgNnn4SFlQJVtj4 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="384144531" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="384144531" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 06:10:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="763959009" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="763959009" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by orsmga007.jf.intel.com with ESMTP; 04 Dec 2023 06:10:01 -0800 From: Kai Vehmanen To: intel-gfx@lists.freedesktop.org Date: Mon, 4 Dec 2023 16:09:55 +0200 Message-ID: <20231204140955.2020491-4-kai.vehmanen@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> References: <20231204140955.2020491-1-kai.vehmanen@linux.intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 3/3] ALSA: hda/hdmi: add connect-all quirk for ASUSTeK Z170 Pro X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On ASUSTeK Z170 PRO GAMING + Intel Sky Lake system the display codec pins are not registered properly without the connect-all quirk. Link: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/3 Signed-off-by: Kai Vehmanen --- sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 5232c46a32a7..3d7f8f510ec7 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1994,6 +1994,7 @@ static const struct snd_pci_quirk force_connect_list[] = { SND_PCI_QUIRK(0x103c, 0x8711, "HP", 1), SND_PCI_QUIRK(0x103c, 0x8715, "HP", 1), SND_PCI_QUIRK(0x1043, 0x8694, "ASUS", 1), /* SKL/KBL + PRIME B560M-A */ + SND_PCI_QUIRK(0x1043, 0x86ae, "ASUS", 1), /* SKL + Z170 PRO */ SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1), SND_PCI_QUIRK(0x8086, 0x2060, "Intel NUC5CPYB", 1), SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", 1),