From patchwork Tue Mar 28 08:32:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 1762199 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=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=kKjtA98P; dkim-atps=neutral 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 4Pm2xx2bMqz1yYV for ; Tue, 28 Mar 2023 19:33:08 +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 1ph4lA-000890-SX; Tue, 28 Mar 2023 08:32:52 +0000 Received: from mail-pj1-f52.google.com ([209.85.216.52]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ph4l8-00088k-Sr for kernel-team@lists.ubuntu.com; Tue, 28 Mar 2023 08:32:51 +0000 Received: by mail-pj1-f52.google.com with SMTP id p3-20020a17090a74c300b0023f69bc7a68so11721719pjl.4 for ; Tue, 28 Mar 2023 01:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679992368; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=FZANtTVJun0MVjE1yuEPA28kMdOGqYAPfovS4XDfQWw=; b=kKjtA98PcumbzrMW6mYjx0oS0R8ieLSix75b3Sa1f+mEnSIfyjaXJb3OpmRnTn2Wj3 hsO0FXVmwnHBwyMWWMhKY9qO+lNqGglc3jG7jCtNruxeDX5baWyPvRj0UpYdlqpatlUo YUUVsKWbi9iTeK+NlQRuisDfMtoZoA9/qhknODULz0Y/iWbqlTxXp+UKKZKYVSYmqrev Gy0KW4800/cVqoW05eXYkVbzNz26KeTV7Bc8ksBnduVM/Kzs6GZiB9r5SWrV9v1gP2kB HBcCNYD3A86nxXPXpTW83e+FuBOhBtY5yOzvFOz/Z9p1ysJEgqow3DzZkUGcKepWsPfc o9nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679992368; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FZANtTVJun0MVjE1yuEPA28kMdOGqYAPfovS4XDfQWw=; b=qTXIrYBW34WIMy9vtxZYdnrtAMSIqF3CrgTf1tbzMwcLqIOb6Wu3aM/KqMTHZUcYpi UYg8NLzwOwnYw24oUiVwR0FafwUdieW1Ud98kB/q8azRxxuGf7XhTVoSmPxw4SiAoLRA RSRDM5Lxwx6cxnoFa5fmpdDEcnLbEg+/nrCmsnC01ml1PgDiwZViHN0HnLErKa8LExHA HTSuXAZ+F12GueVYwbUBnt3ruWbTe/JMlPuBMSA+zbgwM3WeaAQtQPW0B2AfniFzfuiU kLQBh84AGbObfXAuvo6jK47xNd6xPMeE++sSBbnHImbjP7eeuU0ezQFsQ3s0LyUpo4Ra 7rtQ== X-Gm-Message-State: AAQBX9eM3P/rJHvz4JhSDBrjAa+IdRXQ+UXXtfHIwgEZ1DJrscwx4iAR eUhXIepfvGbZYR2KYwf5M6go8zIjsW9mkA== X-Google-Smtp-Source: AKy350ZOdMkk71B6ggluF8ZR6V/lo/KaVVkTwMAgRDBPGKDkaDhQynph1stzgECELojoaGVIaTAaIQ== X-Received: by 2002:a17:902:ba87:b0:19d:553:745c with SMTP id k7-20020a170902ba8700b0019d0553745cmr11067510pls.9.1679992368474; Tue, 28 Mar 2023 01:32:48 -0700 (PDT) Received: from localhost (220-135-95-34.hinet-ip.hinet.net. [220.135.95.34]) by smtp.gmail.com with ESMTPSA id jf20-20020a170903269400b0019f1264c7d7sm20549267plb.103.2023.03.28.01.32.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 01:32:48 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/9][SRU][L] Lost display on built-in monitor after suspend Date: Tue, 28 Mar 2023 16:32:37 +0800 Message-Id: <20230328083246.366669-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.216.52; envelope-from=acelan@gmail.com; helo=mail-pj1-f52.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: "Chia-Lin Kao (AceLan)" BugLink: https://launchpad.net/bugs/2001599 [Impact] On some laptops, the eDP blinking slowly after resuming from S3 [Fix] The series of patches which are in drp-tip(v6.3-rc1) fix the isue https://patchwork.freedesktop.org/series/110693/ 4c0eb35fc103 drm/i915: Improve PPS debugs ed5509d1d451 drm/i915: Fix whitespace 1e47e035bb73 drm/i915: Print the PPS registers using consistent format ba21bb24810f drm/i915: Reject unusable power sequencers d83804f22d85 drm/i915: Extend dual PPS handlind for ICP+ bf38bba3e7d6 drm/i915: Try to use the correct power sequencer intiially on bxt/glk 209074fd5a82 drm/i915: Generalize the PPS vlv_pipe_check() stuff 3f9ffce5765d drm/i915: Do panel VBT init early if the VBT declares an explicit panel type f70f8153e364 drm/i915: Introduce intel_panel_init_alloc() [Test] ODM and I confirmed the issue is fixed after the patches have been applied. [Where problems may occur] This series of patches fixes a dedicate issue and change the power sequence for the eDP panel. eDP panel may stay blank if the rules are wrong. OEM kernel has carried this series of patches since early Feb., we didn't get any report about the panel issue. Ville Syrjälä (9): drm/i915: Introduce intel_panel_init_alloc() drm/i915: Do panel VBT init early if the VBT declares an explicit panel type drm/i915: Generalize the PPS vlv_pipe_check() stuff drm/i915: Try to use the correct power sequencer intiially on bxt/glk drm/i915: Extend dual PPS handlind for ICP+ drm/i915: Reject unusable power sequencers drm/i915: Print the PPS registers using consistent format drm/i915: Fix whitespace drm/i915: Improve PPS debugs drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_bios.c | 56 ++- drivers/gpu/drm/i915/display/intel_bios.h | 11 +- .../gpu/drm/i915/display/intel_connector.c | 2 +- .../drm/i915/display/intel_display_types.h | 24 +- drivers/gpu/drm/i915/display/intel_dp.c | 19 +- drivers/gpu/drm/i915/display/intel_lvds.c | 4 +- drivers/gpu/drm/i915/display/intel_panel.c | 9 + drivers/gpu/drm/i915/display/intel_panel.h | 1 + drivers/gpu/drm/i915/display/intel_pps.c | 360 +++++++++++++----- drivers/gpu/drm/i915/display/intel_pps.h | 2 +- drivers/gpu/drm/i915/display/intel_sdvo.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 1 + 14 files changed, 364 insertions(+), 131 deletions(-) Acked-by: Tim Gardner Acked-by: Cory Todd