Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2970011rdb; Mon, 4 Dec 2023 12:36:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlYDEj3X45jKgjT0Hn19a7gKyEbtzpc9XRPDELUliQz8divO7LoSEQKpchaNouUBo5eLNE X-Received: by 2002:a05:6a00:23c6:b0:6ce:2731:d5bd with SMTP id g6-20020a056a0023c600b006ce2731d5bdmr150995pfc.46.1701722188695; Mon, 04 Dec 2023 12:36:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701722188; cv=none; d=google.com; s=arc-20160816; b=GxcubBBswvhC+vZbLQ8oF0PGfYqZk4bApHC3Ok+7n/d1ENpSUf3RVDYUeCp1HeMxaC NxmygBd/Ie0YPvjgRxu7zKZ0tgSL2NMZ2fl/Wr4WK+HgGfkOxVjcVKNKbv+jhVQ/qYf3 sFpksDEX4EkV7I3eM15aQ3iQgjnyWJgtX3zZ8B094KaM9RnL/EVO6aGcc2tMiHcoN3f7 IuH9fvA94rjkQOlxhCDBhI5r9fx+KdSZBQ0EKtyT7xQtNvijuWKg2K/CNBrv9oU+cD5f slkc/IWXosXxif70xvo2psRbLtg3i/i9JcYjgtKHXa001NDTH1YJ4aPPKmQRhuYFxLQP rFjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NjCwTpQBadY1nd2+qtV0sPdY27u2N38KZwHnqj5krb8=; fh=3Kx8kKNSPBPq/h5xSZJa/jj9xScW/dsf+rt4oLxrx24=; b=jdpcCmqzgD7Z74P2TnLugZrYTxvmp2TCO1wkdZLz5zAzRnKx/ad6mdvU922ycrD0SI jlyIpHn/N068SkeLuBeuyXIneoRbKw5ooqrt4BE+xXv/CCkLIbMhDh5XIPkgiBz+2Zlc HjxrbFGdIfHxBqMLAH4HUVIQvRprlat3xS9QvegpO8WClzOdu7Hl2qUbiJTIqIgLdIno 4UeIc/v1l4/RMIDDmIQmESwI3frOQMGzR2qP3l0khyCEmDLYX41N3TLM8XtX0D3VrsXK LdXu8SG69ApIBBiA8RaEYLMEE9s0QMJlEVhWw7Lj+bxCNvyCsii0qZfZSwkpLKrmWedX Da0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBwsJiNM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bv189-20020a632ec6000000b005c1e762bc50si3507648pgb.742.2023.12.04.12.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:36:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBwsJiNM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 346D9805CDA9; Mon, 4 Dec 2023 12:36:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345681AbjLDUgL (ORCPT + 99 others); Mon, 4 Dec 2023 15:36:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235513AbjLDUfw (ORCPT ); Mon, 4 Dec 2023 15:35:52 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35F851FD5 for ; Mon, 4 Dec 2023 12:34:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00B29C433C9; Mon, 4 Dec 2023 20:34:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701722077; bh=MSCtdeEdKkvBszFXyIq/cq2Ltze/85xunx06r+SSqWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DBwsJiNMB1LmqgIHg78UwxXjSfPXRno8zc3h3L9WmfyI6pb5KCedEu9bjqX5m4DAl FJavvHl9n9aLeNN8MVe+olC16m7EtFLI4aSYO2JqnUW1icsUTTZT2uSk+yNXxuOhWD 8ZgBzVqmNKojaUnl3qvtUV5Hw0bpOCFcSQYu825ccoHRctNCWkuqj+vsR++pHHy34f FJt4oKdUFFomh1ZhZ+pQltfCE4pWF7dVJatNvZhFUCjPdkrXNw9X5Cd9Tj4Z448TuN X9kg2nlFCOnQ/PmVO28tWyfMBo9wM55cBwL35B9cOT9oqJJFtvX63FrR6FpTRPn16N B3TpxL+6/iKcA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmytro Laktyushkin , Charlene Liu , Tom Chung , Daniel Wheeler , Alex Deucher , Sasha Levin , harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, qingqing.zhuo@amd.com, Nicholas.Kazlauskas@amd.com, Jingwen.Zhu@amd.com, aric.cyr@amd.com, trix@redhat.com, wenjing.liu@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 6.6 25/32] drm/amd/display: update dcn315 lpddr pstate latency Date: Mon, 4 Dec 2023 15:32:45 -0500 Message-ID: <20231204203317.2092321-25-sashal@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231204203317.2092321-1-sashal@kernel.org> References: <20231204203317.2092321-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.4 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:36:26 -0800 (PST) From: Dmytro Laktyushkin [ Upstream commit c92da0403d373c03ea5c65c0260c7db6762013b0 ] [WHY/HOW] Increase the pstate latency to improve ac/dc transition Reviewed-by: Charlene Liu Acked-by: Tom Chung Signed-off-by: Dmytro Laktyushkin Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- .../drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c index b2c4f97afc8b4..8776055bbeaae 100644 --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c @@ -334,7 +334,7 @@ static struct wm_table lpddr5_wm_table = { { .wm_inst = WM_A, .wm_type = WM_TYPE_PSTATE_CHG, - .pstate_latency_us = 11.65333, + .pstate_latency_us = 129.0, .sr_exit_time_us = 11.5, .sr_enter_plus_exit_time_us = 14.5, .valid = true, @@ -342,7 +342,7 @@ static struct wm_table lpddr5_wm_table = { { .wm_inst = WM_B, .wm_type = WM_TYPE_PSTATE_CHG, - .pstate_latency_us = 11.65333, + .pstate_latency_us = 129.0, .sr_exit_time_us = 11.5, .sr_enter_plus_exit_time_us = 14.5, .valid = true, @@ -350,7 +350,7 @@ static struct wm_table lpddr5_wm_table = { { .wm_inst = WM_C, .wm_type = WM_TYPE_PSTATE_CHG, - .pstate_latency_us = 11.65333, + .pstate_latency_us = 129.0, .sr_exit_time_us = 11.5, .sr_enter_plus_exit_time_us = 14.5, .valid = true, @@ -358,7 +358,7 @@ static struct wm_table lpddr5_wm_table = { { .wm_inst = WM_D, .wm_type = WM_TYPE_PSTATE_CHG, - .pstate_latency_us = 11.65333, + .pstate_latency_us = 129.0, .sr_exit_time_us = 11.5, .sr_enter_plus_exit_time_us = 14.5, .valid = true, -- 2.42.0