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 DAA29197532; Thu, 6 Jun 2024 14:21:02 +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=1717683662; cv=none; b=Fz9s+Xq3uasMIUwfdx5h7g/AM7cYMYk69XcAPbhXq94DS7bhV1KWBCYFLUsZ1CQFZLU0LshmkjXzdUA4j0raJzPv17gSiF2hmUS0pY8Y/fG9zmBtoPxLiMcXmroRzJ8ibe0g/jPNFkCF9sccy1etIaadzVuNYOvMF999fqF+xsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717683662; c=relaxed/simple; bh=+vRaNM1OeS6ATEYFJIfNOXKj6dIGmX5X2RL0/i+n9oc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gusw0JZnAtjfLh/Nc9y8bTPOVitY1zF2zK1+5bepp0ZCc2Cq9V2S73HppJO6qgO52pj8lGG1NcM2GFB9wpsp+BISRSVun+Riw8GEEvLe6TJHH+W4qllR3W3D1KrKy75gXUKbX00o+XEQb2UzItKOm1C/ygCCtSfhOrkWoHNOTs4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uA5oc+Th; 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="uA5oc+Th" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B090FC2BD10; Thu, 6 Jun 2024 14:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717683662; bh=+vRaNM1OeS6ATEYFJIfNOXKj6dIGmX5X2RL0/i+n9oc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uA5oc+ThJLmQ4hEnjm5RJey/jcb0Si7dEB6Gvbd/34wVVzuevQonwHNH5w/U3ADDH E7VyTnc1e6PwqyCrrx+OTZa+2oKZtG5MKsrYY7dJRrVstCmbqIrveBiLha60kta9Ut Sb6b5lBh2DHvy9IN1VzC4/SUzSOHPuVO7i7NYnTw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mario Limonciello , Alex Deucher , Chaitanya Dhere , Martin Leung , Wayne Lin , Wenjing Liu , Daniel Wheeler , Sasha Levin Subject: [PATCH 6.6 545/744] drm/amd/display: Revert Remove pixle rate limit for subvp Date: Thu, 6 Jun 2024 16:03:37 +0200 Message-ID: <20240606131749.929002104@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240606131732.440653204@linuxfoundation.org> References: <20240606131732.440653204@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Wenjing Liu [ Upstream commit cf8c498694a443e28dc1222f3ab94677114a4724 ] This reverts commit 340383c734f8 ("drm/amd/display: Remove pixle rate limit for subvp") [why] The original commit causes a regression when subvp is applied on ODM required 8k60hz timing. The display shows black screen on boot. The issue can be recovered with hotplug. It also causes MPO to fail. We will temprarily revert this commit and investigate the root cause further. Cc: Mario Limonciello Cc: Alex Deucher Cc: stable@vger.kernel.org Reviewed-by: Chaitanya Dhere Reviewed-by: Martin Leung Acked-by: Wayne Lin Signed-off-by: Wenjing Liu Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c index 426902578ca46..cf3b400c8619b 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c @@ -697,6 +697,7 @@ static bool dcn32_assign_subvp_pipe(struct dc *dc, * - Not TMZ surface */ if (pipe->plane_state && !pipe->top_pipe && !dcn32_is_center_timing(pipe) && + !(pipe->stream->timing.pix_clk_100hz / 10000 > DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ) && (!dcn32_is_psr_capable(pipe) || (context->stream_count == 1 && dc->caps.dmub_caps.subvp_psr)) && pipe->stream->mall_stream_config.type == SUBVP_NONE && (refresh_rate < 120 || dcn32_allow_subvp_high_refresh_rate(dc, context, pipe)) && -- 2.43.0