From patchwork Fri Aug 28 02:53:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1352985 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; dmarc=fail (p=none dis=none) header.from=canonical.com 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 4Bd40n3Yfrz9sTj; Fri, 28 Aug 2020 12:53:28 +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 1kBUW0-0006R9-WD; Fri, 28 Aug 2020 02:53:20 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kBUVy-0006Qq-E7 for kernel-team@lists.ubuntu.com; Fri, 28 Aug 2020 02:53:18 +0000 Received: from [125.35.49.90] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kBUVx-0005sJ-Ib for kernel-team@lists.ubuntu.com; Fri, 28 Aug 2020 02:53:18 +0000 From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][OEM-5.6][PATCH 0/1] The DP/HDMI audio via USB-C to DP dongle or Dell Zeus adapter can't work after suspend Date: Fri, 28 Aug 2020 10:53:03 +0800 Message-Id: <20200828025304.7390-1-hui.wang@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1893290 Since this patch is CCed to stable kernel, I just sent this patch to oem-5.6 kernel, our oem project is waiting for this patch to be landed to oem-5.6 kernel first. [Impact] On the Dell TGL laptop, if connecting a monitor via type-c to DP/HDMI adapter, we will have an audio issue, that is playing the music and suspend the system, after resuming back, the audio can't output from DP/HDMI monitor anymore. [Fix] Cherry-pick a fix from upstream, this patch is verifying the needed converter and pin to be in the D0 state. [Test Case] Connect a monitor with USB-C to DP/HDMI adapter, open the youtu.com and playing sth, suspend the system and resume, check if the sound could play the music, repeat 20 times, all work very well. [Regression Risk] If this patch could introduce regression, it should be the power consumption regression on Intel HDMI audio, since it makes the converter and pin to be D0 state earlier than before. But this impact is very small. one converter and one pin consume very little power. Kai Vehmanen (1): ALSA: hda/hdmi: always check pin power status in i915 pin fixup sound/pci/hda/patch_hdmi.c | 1 + 1 file changed, 1 insertion(+)