Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3419276pxf; Mon, 29 Mar 2021 01:30:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8eYllxeXeOS0QIL0upKKWnyWk6O+3g/cKgxUf4nMRNdMEcdvXxg1tnB1S5GCQzF+XQ/3+ X-Received: by 2002:a05:6402:95b:: with SMTP id h27mr27562459edz.93.1617006621649; Mon, 29 Mar 2021 01:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006621; cv=none; d=google.com; s=arc-20160816; b=ic2iit/u+efZAnjkrSPT6O7Bx+FJLVg7tkt4LNGXMx0yDYh6wVuBh4fP+fRvPn8K3n mPTUH1VQT5v+XW1CDHgfQV4lMN9Znu8QzFIdnxUu9UedZvoBQVypWzxz2if6BGkODH6j g3WQ4/hBvAp6mKmkIGwS6qyRcEi6CDewCcw2qJrKUWbIFBFoUjBxZlJc2cjhe+G8F60X g43R5I+UOItOS8+ydXZptniTU1Tifq7y29tQlzClc2D9SYgRr0HwpkAgUZ6nh6gD+PQE tWAKk9GfPux/jmNVer+Q9scmUwtH4eNf4G61od4RaKXAepkao/bOG7QoC3Y7Sa8bMCKj p3zw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qnEWDAalEoe3J2hUN619aku4qNwzoyRYfmLXrTfhCbo=; b=dtJLeIsJwnRsOwHfCWCQKpsRtJb8reSyb7YHyRs0P3ROfwN4Wk4dh4NFftZsvjbgpM tYxYKFtyJYC1GwRXBHc8MbeWCqbJgvw7rp1dKhvdpON2LJZhxl1sWU+eAXW4rTsGZaRR cIwse+KFLZ1C7q/J/dibqndrgy9IQabLd8XVUAKPJ//FhSGhMhTYmMG3gzmUl0FTf+gH gRvcdbgy5bsD9J+mLA7uah0xxCiJg2sRlWiEKyoM05VVP17njP5Es5su0AwPyVCgsZZ/ O8NJ+hr0Npl0UvEIq9bW8yh8gIfuA4YpnzVresb4PIu+wgYYvxeOBWSRuEv+Br+4CiI8 EISg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gu872omY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h21si12546085ede.37.2021.03.29.01.29.53; Mon, 29 Mar 2021 01:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gu872omY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234574AbhC2I2o (ORCPT + 99 others); Mon, 29 Mar 2021 04:28:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232731AbhC2IST (ORCPT ); Mon, 29 Mar 2021 04:18:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BBA7961964; Mon, 29 Mar 2021 08:18:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617005889; bh=7Sc1OyOci1CHmpOtVP7j7g8RKp0UJBJvi7kFlrNny1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gu872omYUwdbA9UKZ61DqlNENdX2rsq8vGewNQwl3jgb3kQ/nmYs7kmje3NsS065D yjo7oJb2shYk3BTF4OvBZWnBVoesoMThUOKqfCQD7iXTXQDLZGtwFPflDjIKTZM9ey osACrW3UlosVqJwbHYEUxT6Fps6DEXogi3rD31O0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Wheeler , Sung Lee , Haonan Wang , Eryk Brol , Alex Deucher , Sasha Levin Subject: [PATCH 5.10 042/221] drm/amd/display: Revert dram_clock_change_latency for DCN2.1 Date: Mon, 29 Mar 2021 09:56:13 +0200 Message-Id: <20210329075630.584403283@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sung Lee [ Upstream commit b0075d114c33580f5c9fa9cee8e13d06db41471b ] [WHY & HOW] Using values provided by DF for latency may cause hangs in multi display configurations. Revert change to previous value. Tested-by: Daniel Wheeler Signed-off-by: Sung Lee Reviewed-by: Haonan Wang Acked-by: Eryk Brol Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c index b5fe2a008bd4..7ed4d7c8734f 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c @@ -295,7 +295,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn2_1_soc = { .num_banks = 8, .num_chans = 4, .vmm_page_size_bytes = 4096, - .dram_clock_change_latency_us = 11.72, + .dram_clock_change_latency_us = 23.84, .return_bus_width_bytes = 64, .dispclk_dppclk_vco_speed_mhz = 3600, .xfc_bus_transport_time_us = 4, -- 2.30.1