Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp641907pxv; Thu, 15 Jul 2021 12:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4KMh/D2UeHOXy1VQXSy2h47l+DtVwQ3CS7xlngnuyE/rvS/SnFRCllFoU25j+MIlNzuqC X-Received: by 2002:aa7:c956:: with SMTP id h22mr9118031edt.378.1626376502545; Thu, 15 Jul 2021 12:15:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626376502; cv=none; d=google.com; s=arc-20160816; b=Pn8llzt0nlvNoZuDtKhsQ26VQEN3HKf8We/xqP6qsz6T85v2rxcX4kneYFDdaVjbWE KPbhgxKQSwUZGU7IWMrvArpgVrRWYMwZJVS5X6mifx5XH11wAHpmx/vH5GijiTySwjgW Sps0XpZHkVJyen4ca4IGQ/n2rt5SEi9oWEjHj73bssKDW7UOvCQxDWNiUBtZgljmjbKg nUz3hAWSR4OT4h8HKwodzkCyqkqwccetOM+Mlmn9O+uU+ucnXUHAzeLQFzPBY3dyI/tm MSVI2M6aTIz17KrCiMs8KaRbFbxYM1Gf82Od7+3jJ3W8csJt5FdWTcQON85aI8esvU37 EPGg== 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=mTVWfPXAogfsYTgXdsTjCLWfRzw0n8tQkppD/BI9wFI=; b=gimWzprzpCzpea4XopuAFw8+j6uSbb9f88mYHtLIxvMa2ggwnBEZSfneh+A/t/94GF 0lHRDdaCIjE0pvPKje44zvsBtT1qkDw67aQ/bQhTgPc6azJzP4KTsYnQnLSpiUSUPvAP 90Jo2feY22vlNHuR1DCQd4LLzvDjrgnmsiysxx9KN0kGTi61Lu5fTG8EBTXDoKBR6cMD W5Oand2mDuV0AazpBL7yzZPsMgpTp7p07IPfZvCM5SeBLIT7iIvcN4MlOoaDIJrrYLzo K6ibxA9TwcWut6kuAL/tKWOh82uPB7JT5Rx2KifL6GCxTN7+7KUG9L9dYw6Ednr9XNOw 3IsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gwJJJgjm; 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 5si7890887ejh.535.2021.07.15.12.14.37; Thu, 15 Jul 2021 12:15:02 -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=gwJJJgjm; 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 S243567AbhGOTPh (ORCPT + 99 others); Thu, 15 Jul 2021 15:15:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:39758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243236AbhGOTBq (ORCPT ); Thu, 15 Jul 2021 15:01:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E8CC560D07; Thu, 15 Jul 2021 18:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375506; bh=t7IX/liNxtfiQqvMD8EFK1F85fVu6JNRUVWXiziupok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gwJJJgjm6Kg45x4XDmNW9PwYcOQrzfRb0Zz+8UiLaj2ctvfO5nnKH/RPrz1Q1fO2/ rEbagWs01qfWJIX0dkhMs6HfMfUJCMKRhQW9l2Xu5Ufqgrn+BNE2Pz9X11xuKYC3GI OUmq8xZOvf1DY4x1arJiA2ccgyXJWLRB59T/jOzc= 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.12 073/242] drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7 Date: Thu, 15 Jul 2021 20:37:15 +0200 Message-Id: <20210715182605.838670801@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@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 aece1103331d..d8a03d825623 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