From patchwork Wed Aug 30 04:08:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1827573 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=KEzcXW7t; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (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 4Rb9lr2rJ2z1ygP for ; Wed, 30 Aug 2023 14:09:11 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qbCVi-00048y-G7; Wed, 30 Aug 2023 04:08:54 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qbCVg-00048k-TH for kernel-team@lists.ubuntu.com; Wed, 30 Aug 2023 04:08:52 +0000 Received: from u-ThinkPad-X1-Extreme-Gen-4i.. (1.general.mapengyu.uk.vpn [10.172.198.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 599823F185 for ; Wed, 30 Aug 2023 04:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1693368532; bh=/pNAx27YPj0wnXTloVkFhbXJxU1pzh+9fauXs3mPJ5M=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=KEzcXW7tX0tfNrh2kAVvcHjhc2Ea41VUjMay5Z6GiOUGzAvBbGHN6Gk8ryZm7XuJA DFYotiTcqFHE+9UnmYn2COrfKa6OWbsuGy9s4qn9eo5xM+YT0X/7mRvAvvgycbm5fO mfuwnUPl+A8VuhMWcBhVXQMSElkL1JjVf89OGotruhG2KtR4cajLWqu3pr0muzeGL6 9fRDOkcuyYhU57Xo32yejpGjm9agVQ4enZNW00v9hV0bkPXTzxj52EOqpVClYs68Jf erbBnEgRIM5zFg6BS6/eRMyQCx3dHpSM6Bb4Lw0xfvt+fXuml7wnBsZXDo8EtBBpqf xXvSBglHSQMCQ== From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][L][PATCH 0/1] Enable D3cold at s2idle for Intel DG2 GPU Date: Wed, 30 Aug 2023 12:08:43 +0800 Message-Id: <20230830040844.74675-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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" BugLink: https://bugs.launchpad.net/bugs/2033452 [Impact] The system wakes up during s2idle with Intel DG2 GPU. It causes high power consumption during suspend. [Fix] Enable D3cold at s2idle. [Test] Tested on hardware, the system sleeps as long as expected, the power consumption is lower. [Where problems could occur] It may break i915 driver. It's a fix of regression in v6.1, no need for jammy and already in 6.5. SRU for lunar and oem-6.1. Anshuman Gupta (1): drm/i915/dgfx: Enable d3cold at s2idle drivers/gpu/drm/i915/i915_driver.c | 33 ++++++++++++++++-------------- 1 file changed, 18 insertions(+), 15 deletions(-) Acked-by: Tim Gardner Acked-by: Roxana Nicolescu