Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp627307pxv; Thu, 15 Jul 2021 11:54:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxYNpCDqP+oHuEcbo/WuPB3bIajSHf3Uzcsd0/0hcwBFHlgpUAhnXRhGIRE5NIy4cb6LaK X-Received: by 2002:a17:906:2817:: with SMTP id r23mr7053753ejc.285.1626375273607; Thu, 15 Jul 2021 11:54:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375273; cv=none; d=google.com; s=arc-20160816; b=ILDlrCEDsB8fLWBaB6VXKAT/CrUA1q+IuBDEUPIz3011mtKNPDcL1Vdec0O71pyMYU SXYEjkfHpyfRPDGItJ5vAd0eBXtPgNSnX13M9weUVNbcvWWuVFT9h0xt0HL7nmDlMtnj cfA3DmIH1A3htFoPjH02y38pQK38ntZBxeGec9jXnpQI9FtKwKOc9PFN9VyVmL7ZkZrR qiYfkZhF1yZ/MkxPiOk7UAtYTqabN6PEbaJbaXTnATsR+fUDbzCYGwttqJn6N/BDSanS 4/rlBQoyqtigopCQhBSlLq0GrSEJ8s7u2jjNU/pqUq4AtMi4CmNDAl7jDa86TxNIERvu jGNg== 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=WbGEORi2uOUyshHX7PPv0eBhkxtRWNP+w3ISbVVCYi4=; b=S5Z6Hd+vfBthPngtYT9z+JiSyQnaXMg2s4acPIQ0ZujLdJsv4syc59rsVzM3qHnQTF Ye79g/WyaJOzJ8aIvf9SOg2EUGkbi6tFnr60x3SEvgen9eWxfZzCxGnbJMzdTURsxoji KKdqYVV48RSHtHu/2jRU1XDbZF3O2cGUqc575BZ+t30IJJdeEaAS5oOYS9n7hHoGkfRV 5PrlRaTFsySRvDpTRfE+5Vq6Kp3zHBrBB0bAcumcLbyCkYERHRXa34yAagx4BJehN3ec bjxSAro06HzdcU87/WA2TmHUs66spbqcWSPBNQ/hL4Lp1mirsbS5RQsHiikFdgyqmOpv 9YsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IWciX+qa; 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 z14si6705047edr.61.2021.07.15.11.54.10; Thu, 15 Jul 2021 11:54:33 -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=IWciX+qa; 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 S242446AbhGOS4D (ORCPT + 99 others); Thu, 15 Jul 2021 14:56:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:53926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239810AbhGOSu4 (ORCPT ); Thu, 15 Jul 2021 14:50:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A8ED4613C4; Thu, 15 Jul 2021 18:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374882; bh=7QlEAfIR48X5g9ahb8H+jZ/laF635VDdUwllnzq05wo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IWciX+qadVQjHsMA9XbLsAEshVUpQsWgX2K+fAv3zIwBLeGqOV32puKKHOptVJiAb fsYWyCUy1JAKVyLVvOFFJDaaIuyQhWCvxYA1RnW/IgJPcrz44vVVd+ssh8ye4urNWe CD7fvwG7Oxsx0xh9gIO09wh8SBWy2e/0ZZO1OnNQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wesley Chalmers , Dmytro Laktyushkin , Stylon Wang , Daniel Wheeler , Alex Deucher , Sasha Levin Subject: [PATCH 5.10 067/215] drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7 Date: Thu, 15 Jul 2021 20:37:19 +0200 Message-Id: <20210715182611.222518119@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@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: Wesley Chalmers [ Upstream commit 3577e1678772ce3ede92af3a75b44a4b76f9b4ad ] [WHY] DISPCLK_MAX_ERRDET_CYCLES must be 7 to prevent connection loss when changing DENTIST_DISPCLK_WDIVIDER from 126 to 127 and back. Signed-off-by: Wesley Chalmers Reviewed-by: Dmytro Laktyushkin Acked-by: Stylon Wang Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c index f1e9b3b06b92..9d3ccdd35582 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c @@ -243,7 +243,7 @@ void dcn20_dccg_init(struct dce_hwseq *hws) REG_WRITE(MILLISECOND_TIME_BASE_DIV, 0x1186a0); /* This value is dependent on the hardware pipeline delay so set once per SOC */ - REG_WRITE(DISPCLK_FREQ_CHANGE_CNTL, 0x801003c); + REG_WRITE(DISPCLK_FREQ_CHANGE_CNTL, 0xe01003c); } void dcn20_disable_vga( -- 2.30.2