Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp713681pxv; Thu, 15 Jul 2021 14:12:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW5InOx8wjTX6T44e9DZ5xSI+gy/mWGkeGhymIXE5xvE5HoVkTLr//1mpU3KTHii/pJ18F X-Received: by 2002:a17:906:43c9:: with SMTP id j9mr7509680ejn.57.1626383576090; Thu, 15 Jul 2021 14:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383576; cv=none; d=google.com; s=arc-20160816; b=YfP1T58I4Awk1eXAI/d2m9/G99ojRbsAI+6WNqsyW0Vb8L+/YpLGdpgUeGe3FbrbCd Wqz2E1Sy9sPei4lN/YoMj75Y22oE56wdDy1CHqJh02r7GYzLmFe6hS+p71Q9c5UV/DYK 49G7G+QAgvAela1d7wxjAX4pW7rsK11vhlmlmgj0eUqKwBTPK9rs6sTO21GBKfRUD22W NcFqDSUdjd9Tuk9ctL1FuICN7DVQ0rgVwZC6F5e/ic52y65UI8IjoHAhDYI3gdomG5WM lvquhWIQu9tTJlES4mrmUA30MNxf8bbiyRKlCRCYIXdoWUuaaTv5A0rzWibcPjLHY5IN 3TGA== 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=5aLEAUvmp8zxyC1jZFc7AetyOlytdULcLT8xcu4LM7o=; b=O7zdZgb+JhF+AZ+T7uQ4AMT1yYFODJOsdBaYrM6f5K/6/c/UbGs2fd9DgMblkf03Fk gar8hCXjhaIk3jDmYobVipBmHv4D7JgNdDjzcKQYU96YN6RZjmkVq9n8iNT76Z0G+bCe Yt26uoRsQU9H6LKx/i/1QQBzfE62N6I5lD5nxcvztcPNmRGTYF3Evo3+wqb5QlniVv9R 1vspYvX4U0hkb88j4jZF9W6rOpqHRyn2y0UqgFN/mZWpsWbYGEW/YY2otmO1hLwWS3Hd /3vlUzPaHbZXGxOpD0Bx7YZ95L7svVX61FPLQbPiCeJ+gc+Oqsi5OZagbtylXI1Pdfko II7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nNSmbQZ5; 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 g11si1035558ejr.739.2021.07.15.14.12.32; Thu, 15 Jul 2021 14:12:56 -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=nNSmbQZ5; 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 S242437AbhGOT2i (ORCPT + 99 others); Thu, 15 Jul 2021 15:28:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:46114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243804AbhGOTKH (ORCPT ); Thu, 15 Jul 2021 15:10:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B1D7361285; Thu, 15 Jul 2021 19:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376003; bh=V5xozR4nuZSnCU9y6noaDhHo7F8Fk/JOZVL7sZpw1Xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nNSmbQZ5LL55E/UMVqJqR3a6okz/SUnEo2un8ss90vwB5HB5ubC4mmRlzVzW37jtb gDJVAwriuxhxALCifVWWp6WMss4Fr0bjdh3bfQuVIfyd6D5ojPoBd2Ih64GQKY2QS3 tOStY4e15zDQuX3ldHTKiDEhOT7BpsI71mcRlC6g= 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.13 086/266] drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7 Date: Thu, 15 Jul 2021 20:37:21 +0200 Message-Id: <20210715182629.442143324@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@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 6a10daec15cc..793554e61c52 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