From patchwork Thu Oct 6 18:42:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1687155 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mk1YV514Wz20Pd for ; Fri, 7 Oct 2022 06:22:54 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ogVqG-0006WK-Uq; Thu, 06 Oct 2022 18:43:32 +0000 Received: from mail-pg1-f172.google.com ([209.85.215.172]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ogVqE-0006W3-BC for kernel-team@lists.ubuntu.com; Thu, 06 Oct 2022 18:43:30 +0000 Received: by mail-pg1-f172.google.com with SMTP id b5so2605559pgb.6 for ; Thu, 06 Oct 2022 11:43:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date; bh=a9XPeEZX9kktVQhteemdAEuZSQrp+UNSv9EHIB1q2aM=; b=R7q+k5XGQWnDS/8Z8O2rQlgJEg1qDCSf0dTHXsPc8gEbqRc/QIz9pdgNN3M4UvrLba mSgTI1R6emcNJvViXl5seyCKfwdlUNOkGWms5voF6vDkq1hXEh7b9DdLbSLG58VX1Jq3 FyaBktGi/9jpRJsG/mEh5A7/YVS2r9lM4Bgr074kumeeksGQ1JMlG0nMjZZ1iyiAZGKA jJKL/IlA9Oj/cb1n+RjdpI4wBTvr3SOtbc1VR53U4BqgkHSl3aBWp0y26gyJUWcvH5To l4cS9p7ApduIGoZfIM1AqtMuXe49ARnV5BJ56c6nY8nGOj5K8GhLGick8XpqK3FF+uEU 6jSg== X-Gm-Message-State: ACrzQf1wS+k/zuvpkIZPX2WnOqfQPivABMvS0FZ5KclALQhhcCzqQ0Y3 Od/DFR/wuYCvzrUQmDQL39uOFVjdqR0= X-Google-Smtp-Source: AMsMyM4kfTLGp7wBG6PcIGW70anAajV3bjhgcaMagRnVlOE1fSH0i/ogSoHAhio0OijCfyBlPRZD7g== X-Received: by 2002:a63:8a43:0:b0:44b:5c1b:6213 with SMTP id y64-20020a638a43000000b0044b5c1b6213mr1044899pgd.532.1665081807977; Thu, 06 Oct 2022 11:43:27 -0700 (PDT) Received: from localhost.localdomain (61-227-97-62.dynamic-ip.hinet.net. [61.227.97.62]) by smtp.gmail.com with ESMTPSA id l19-20020a170902d35300b00176dd41320dsm12705940plk.119.2022.10.06.11.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 11:43:27 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/5][SRU][OEM-5.14/Jammy] AMD Yellow Carp system hang on HDMI plug in/out over dock station Date: Fri, 7 Oct 2022 02:42:40 +0800 Message-Id: <20221006184245.891152-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.172; envelope-from=vicamo@gmail.com; helo=mail-pg1-f172.google.com 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: "You-Sheng Yang (vicamo)" BugLink: https://bugs.launchpad.net/bugs/1991974 [Impact] AMD Yellow Carp system hang on HDMI plug in/out over dock station. [Fix] 5 patches from mainline kernel v5.16 to be backported. [Test Case] Plug and unplug HDMI cable connected external monitor on a docking station connected to HP Lockheed platform to try trigger system hang. [Where problems could occur] This series tries to address null state of MST link encoder, and no know fix commits for them ever since till current mainline HEAD. [Other Info] While this is already available in v5.16 kernel and on, only 5.15 and oem-5.14 are nominated for fix. Jimmy Kizito (2): drm/amd/display: Fix MST link encoder availability check. drm/amd/display: Add work around for tunneled MST. Meenakshikumar Somasundaram (3): drm/amd/display: Fix for link encoder access for MST. drm/amd/display: FEC configuration for dpia links drm/amd/display: FEC configuration for dpia links in MST mode drivers/gpu/drm/amd/display/dc/core/dc_link.c | 34 +++++++++++++++++-- .../drm/amd/display/dc/core/dc_link_enc_cfg.c | 23 ++++++++++--- .../gpu/drm/amd/display/dc/core/dc_resource.c | 20 +++++------ drivers/gpu/drm/amd/display/dc/dc.h | 3 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 2 ++ .../display/dc/dcn31/dcn31_dio_link_encoder.c | 4 +-- 6 files changed, 66 insertions(+), 20 deletions(-) Acked-by: Tim Gardner Acked-by: Timo Aaltonen