From patchwork Tue Sep 29 11:00:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 291042 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D35B1C4727F for ; Tue, 29 Sep 2020 11:54:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9F1DC206A5 for ; Tue, 29 Sep 2020 11:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601380467; bh=f3aX4MYAfIoQ64soJl850blFbIAJIx72ZTd4aLXAsUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=G4oFZDBgNidxbokmbKnDvMbvW+giJCkE5r5cAv0wkn79J6OZOBYk7YC9vzYOIwmTf 2p6r3zLINBepsu3or7FF1TammDdoZfdvqpizYEks+gP57hXgTBbazG9Z4yLOduPRdx YDLUCF+TL1gjpzDCjsDI/etEWU9l+9riPqCFf8e4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731447AbgI2LyS (ORCPT ); Tue, 29 Sep 2020 07:54:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:46904 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731011AbgI2LqU (ORCPT ); Tue, 29 Sep 2020 07:46:20 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E08F220702; Tue, 29 Sep 2020 11:46:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601379980; bh=f3aX4MYAfIoQ64soJl850blFbIAJIx72ZTd4aLXAsUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r8JRbmXC4IV4lV41aQaV5riUhVZpkadmnUD7lpKWwa7RT97nnfxD/qBHbpexY1rRg 884+DOFIaZLlgxZ/5W0k8y/3issJg8xv3qbFamwTX6TOKJWz4i4q/UezaGLPIGUljo 26pFve0mUEeFSK3HmhNL6U7bEmy3voBnvKonlRP4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jun Lei , Aurabindo Pillai , Alex Deucher , Sasha Levin Subject: [PATCH 5.8 14/99] drm/amd/display: update nv1x stutter latencies Date: Tue, 29 Sep 2020 13:00:57 +0200 Message-Id: <20200929105930.422450191@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105929.719230296@linuxfoundation.org> References: <20200929105929.719230296@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jun Lei [ Upstream commit c4790a8894232f39c25c7c546c06efe074e63384 ] [why] Recent characterization shows increased stutter latencies on some SKUs, leading to underflow. [how] Update SOC params to account for this worst case latency. Signed-off-by: Jun Lei Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c index 2d9055eb3ce92..20bdabebbc434 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c @@ -409,8 +409,8 @@ struct _vcs_dpi_soc_bounding_box_st dcn2_0_nv14_soc = { }, }, .num_states = 5, - .sr_exit_time_us = 8.6, - .sr_enter_plus_exit_time_us = 10.9, + .sr_exit_time_us = 11.6, + .sr_enter_plus_exit_time_us = 13.9, .urgent_latency_us = 4.0, .urgent_latency_pixel_data_only_us = 4.0, .urgent_latency_pixel_mixed_with_vm_data_us = 4.0,