From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E20501779B1; Tue, 8 Oct 2024 12:35:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728390950; cv=none; b=SBK5p+fFGogLbc1gbBBu3Q3VQQEayi/U1NTKkCzZ9USPfb26tHQYKHqSxC8XHiUgPve8bvIDIANMxpicaNYFJwDPME7VeVIiwXKkHP8A1Mc6hcT+/alF1UvOqQqE9JYy9S9F3AoDPIWLWyQeGlurQajT9kNsL3UVOXuWi72JnkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728390950; c=relaxed/simple; bh=LR5DWMJ4YZ+cxIKNa4n72QpPnb4+mTS5Ck5g6roFMKg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ECZdRluzN469z0Ev8E1ZJCuDmKIoC9cT9beXhdsXYMK2MGcoo3SPSxY0XKgs+cBupILlcRPznvMIK8q9uSjws3NQOcoody6/IDz+5pQ4RWYA5ZupIjYrwuia9CiX7xFwVNtRVWj4thooxNCdWz+vv6qMnTlbroj9Il0Yz/HwODc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dUZvSs2g; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dUZvSs2g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6276EC4CEC7; Tue, 8 Oct 2024 12:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728390949; bh=LR5DWMJ4YZ+cxIKNa4n72QpPnb4+mTS5Ck5g6roFMKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dUZvSs2gQrkIW3CXUTup+J0Z0fBjH4PpbYOevpx/0ok1FWDDYj8waaiC8lby76jLT ffhloFPOh4zIKffSNyW2bpD2sb9flNcywbFG1N4SOPj6gO1doWcRW5+GnxIK3RocgG OUt4fT+S2/0x47VYNhnDzL10OUxBRUxzbwBPLI00= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mario Limonciello , Alex Deucher , Charlene Liu , Yihan Zhu , Aurabindo Pillai , Daniel Wheeler Subject: [PATCH 6.10 444/482] drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35 Date: Tue, 8 Oct 2024 14:08:27 +0200 Message-ID: <20241008115705.996141269@linuxfoundation.org> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241008115648.280954295@linuxfoundation.org> References: <20241008115648.280954295@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yihan Zhu commit 0d5e5e8a0aa49ea2163abf128da3b509a6c58286 upstream. [WHY & HOW] Mismatch in DCN35 DML2 cause bw validation failed to acquire unexpected DPP pipe to cause grey screen and system hang. Remove EnhancedPrefetchScheduleAccelerationFinal value override to match HW spec. Cc: Mario Limonciello Cc: Alex Deucher Reviewed-by: Charlene Liu Signed-off-by: Yihan Zhu Signed-off-by: Aurabindo Pillai Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher (cherry picked from commit 9dad21f910fcea2bdcff4af46159101d7f9cd8ba) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c +++ b/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c @@ -303,7 +303,6 @@ void build_unoptimized_policy_settings(e if (project == dml_project_dcn35 || project == dml_project_dcn351) { policy->DCCProgrammingAssumesScanDirectionUnknownFinal = false; - policy->EnhancedPrefetchScheduleAccelerationFinal = 0; policy->AllowForPStateChangeOrStutterInVBlankFinal = dml_prefetch_support_uclk_fclk_and_stutter_if_possible; /*new*/ policy->UseOnlyMaxPrefetchModes = 1; }