From patchwork Fri Dec 8 13:21:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kai Vehmanen X-Patchwork-Id: 752030 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 60108C4167B for ; Fri, 8 Dec 2023 13:23:01 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BFC11DEF; Fri, 8 Dec 2023 14:22:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BFC11DEF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1702041779; bh=7F9pKUKkgbIsuxLviTWduDuddL+0J+DEhNkNOFIdf8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=C0gKl2rkbL6CGR9hFTW7EWbD5EYUohjU2pjKLWaPRbqm7q8hpUxq3ULK9N9mJxqYp ENfRkR+c4N9SjIP3x1vU0i2C8agXUAl5url57LRm/VU+A8wMGHNPM2UzXDgZwCcNBw 4pK5ta/nwS76JQOzR8GE/08cjhLaVsbKo5QbrNyQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7F73BF805E2; Fri, 8 Dec 2023 14:22:13 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id AEDD7F805F1; Fri, 8 Dec 2023 14:22:12 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EAC8AF80563; Fri, 8 Dec 2023 14:22:07 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 66F33F805BD for ; Fri, 8 Dec 2023 14:22:03 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 66F33F805BD Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=lFeMfBPN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702041725; x=1733577725; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7F9pKUKkgbIsuxLviTWduDuddL+0J+DEhNkNOFIdf8w=; b=lFeMfBPNfhdXyQ7ClUGnmSMvp+2fRafQDYcWGdfZXn3mCBmSSEoZjCtk tSIKwU/hW8ieM9HI2+HcE57Xqks4yQLcvoVBJX8EukwpkMAxvt6VsiYmC Kw/9IYQLNuDztKLh/wBDQQdWiyQ4+5DQKGlMY2oNyT6xpu64AtdtkCAHG c94i6u0TsDez4oHcm4O1Imk6YHOG4qvu8PmL0bUUlkL+G+R/RPBUbbEQZ qmFFImDqJqNtgo9q2ZjwM7N3kSGhBt15rdE3NJYWvBqa59OZUJqhW57Si aLGFS6eEn5DoWsINcfyn6q+dfdwV08xD29ZW4q4C3+6oNfez3YS1Dxrdx A==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="394141787" X-IronPort-AV: E=Sophos;i="6.04,261,1695711600"; d="scan'208";a="394141787" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2023 05:22:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="915948551" X-IronPort-AV: E=Sophos;i="6.04,261,1695711600"; d="scan'208";a="915948551" Received: from eliteleevi.tm.intel.com ([10.237.54.20]) by fmsmga001.fm.intel.com with ESMTP; 08 Dec 2023 05:21:59 -0800 From: Kai Vehmanen To: linux-sound@vger.kernel.org, tiwai@suse.de Cc: kai.vehmanen@linux.intel.com, alsa-devel@alsa-project.org, =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= , Jani Saarinen Subject: [PATCH 2/2] ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants Date: Fri, 8 Dec 2023 15:21:27 +0200 Message-ID: <20231208132127.2438067-3-kai.vehmanen@linux.intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231208132127.2438067-1-kai.vehmanen@linux.intel.com> References: <20231208132127.2438067-1-kai.vehmanen@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: GYP3PT7SYTMIEXFSZNTJMZA4LWWZU4KN X-Message-ID-Hash: GYP3PT7SYTMIEXFSZNTJMZA4LWWZU4KN X-MailFrom: kai.vehmanen@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On ASUSTeK Z170M PLUS and Z170 PRO GAMING systems, the display codec pins are not registered properly without the force-connect quirk. The codec will report only one pin as having external connectivity, but i915 finds all three connectors on the system, so the two drivers are not in sync. Issue found with DRM igt-gpu-tools test kms_hdmi_inject@inject-audio. Link: https://gitlab.freedesktop.org/drm/intel/-/issues/9801 Cc: Ville Syrjälä Cc: Jani Saarinen Signed-off-by: Kai Vehmanen --- sound/pci/hda/patch_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 88d7e037a57c..200779296a1b 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -1993,6 +1993,8 @@ 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, 0x86ae, "ASUS", 1), /* Z170 PRO */ + SND_PCI_QUIRK(0x1043, 0x86c7, "ASUS", 1), /* Z170M PLUS */ 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),