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 6F0A7171C9; Wed, 6 Nov 2024 12:31:08 +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=1730896268; cv=none; b=JveCAgom9fJHgQMnXJfit6mH3zKXBheZGI+6CvjFOxSRwaupstrEdnD3884rSjbaSiI3ktAUfElFwTXsEZ4udDqqfh5nrSUMS4zA1eSQA3qsIfjckv3AogpWcJTAcw96O524Bo0QHuk37l5ewHIy9XCG/Qzlu2LrDebsO6kXri8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730896268; c=relaxed/simple; bh=sGQwq4iy8J8HsrDRjjp+8WHUygoE/sYSzoiSbZk9G9E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rjfFLbwc+SAgdGz4chIfizk0Qp491XBf0TUUZFdIWUf2I5oerFCwzefcXmvo5A01cEJkljX3Tl/Vj2Z2wKaqpYloU3gaEizE1CGCWdF9LKNrjXbjsNM9zWkD1RaVpaoxGTH3Af4ugBaZOGELLLzg/B20zliwlROlsQD1iUrTd5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=05DdTNeo; 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="05DdTNeo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED756C4CECD; Wed, 6 Nov 2024 12:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730896268; bh=sGQwq4iy8J8HsrDRjjp+8WHUygoE/sYSzoiSbZk9G9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=05DdTNeotQ3FuBHT111gKgXAoBeAmGgD8EFWw8mgVxR1K+nVX5gWeijb8yhSZRpMd rNlVcPl2Vol7YtCBocx4nRBtTHKcYPHtcV842Rjm+B/5GBD92fwpDtbcY6P2jd3UmM ziaSZUOIp0Z2hKJbCLn7vCRAshlfXmOxp1kGKIIM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mario Limonciello , Alex Deucher , Nicholas Kazlauskas , Ovidiu Bunea , Tom Chung , Daniel Wheeler Subject: [PATCH 6.11 119/245] Revert "drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35" Date: Wed, 6 Nov 2024 13:02:52 +0100 Message-ID: <20241106120322.150339719@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241106120319.234238499@linuxfoundation.org> References: <20241106120319.234238499@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.11-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ovidiu Bunea commit 1b6063a57754eae5705753c01e78dc268b989038 upstream. This reverts commit 9dad21f910fc ("drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35") [why & how] The offending commit exposes a hang with lid close/open behavior. Both issues seem to be related to ODM 2:1 mode switching, so there is another issue generic to that sequence that needs to be investigated. Cc: Mario Limonciello Cc: Alex Deucher Reviewed-by: Nicholas Kazlauskas Signed-off-by: Ovidiu Bunea Signed-off-by: Tom Chung Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher (cherry picked from commit 68bf95317ebf2cfa7105251e4279e951daceefb7) 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 insertion(+) --- a/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c +++ b/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c @@ -303,6 +303,7 @@ 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; }