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 7572B2222D3; Thu, 13 Feb 2025 14:47:56 +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=1739458076; cv=none; b=CD8U6PnAqGIK78SDzo2PA0YEnr/PXQO1Lvnn53G45csBjUXB+qABOZPkBFu4GHPZxMONPktqrBC85TSfy5dDnJiQKhQ7O7ZGpUf+jF1Nm/Q/k029Mgq38WesvovxYX07ZjIfheaOKv+8f+CPyeXABcO0vgo2FsGeIfNWSpt2zIc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739458076; c=relaxed/simple; bh=nw6hJeE3oeGPcjsx2ePRkvkvFPhGlWeacUOWqJgEHMk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OMuuHT+1ffJ3bgHLvYYTj/sJH++6p+jT4zck+5nVuXYYShdzYMczjZMKYzfMAux/Mc6i4/n073yCWHVLTuJyEMaM+LnFjp1QvrekXAdKeRp/vNWPB0z4nNyk9xTJnGoC1GDbEKhBMoFX8Y1VRaX+oaI0BaGiU857plvCrfL6kk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bAZH66sX; 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="bAZH66sX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D840FC4CED1; Thu, 13 Feb 2025 14:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739458076; bh=nw6hJeE3oeGPcjsx2ePRkvkvFPhGlWeacUOWqJgEHMk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bAZH66sXWMCZbbyMi2RAyJ1efo8nvlZiAY8nHs9ZsHD4QuoXAPSAOB2zjOdkZnntp A6HGViUrgE8euKFN/12Xcs2rAPPrr5UsQD97MUrYLVwJXUBZoEYPPgAmTdxM613iOM 8IrMqhg4AuWHSaL5Fwlm4TBEO3sdWXWB1hFs5sUk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable@kernel.org, Dmitry Baryshkov , Konrad Dybcio , Bjorn Andersson Subject: [PATCH 6.12 293/422] arm64: dts: qcom: sm8550: correct MDSS interconnects Date: Thu, 13 Feb 2025 15:27:22 +0100 Message-ID: <20250213142447.850215557@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250213142436.408121546@linuxfoundation.org> References: <20250213142436.408121546@linuxfoundation.org> User-Agent: quilt/0.68 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.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry Baryshkov commit b8591df49cde459e3b84cdc0517d7bf92053d244 upstream. SM8550 lists two interconnects for the display subsystem, mdp0-mem (between MDP and LLCC) and mdp1-mem (between LLCC and EBI, memory). The second interconnect is a misuse. mdpN-mem paths should be used for several outboud MDP interconnects rather than the path between LLCC and memory. This kind of misuse can result in bandwidth underflows, possibly degrading picture quality as the required memory bandwidth is divided between all mdpN-mem paths (and LLCC-EBI should not be a part of such division). Drop the second path and use direct MDP-EBI path for mdp0-mem until we support separate MDP-LLCC and LLCC-EBI paths. Fixes: d7da51db5b81 ("arm64: dts: qcom: sm8550: add display hardware devices") Cc: stable@kernel.org Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20241026-fix-sm8x50-mdp-icc-v2-1-fd8ddf755acc@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3002,9 +3002,8 @@ power-domains = <&dispcc MDSS_GDSC>; - interconnects = <&mmss_noc MASTER_MDP 0 &gem_noc SLAVE_LLCC 0>, - <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>; - interconnect-names = "mdp0-mem", "mdp1-mem"; + interconnects = <&mmss_noc MASTER_MDP 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "mdp0-mem"; iommus = <&apps_smmu 0x1c00 0x2>;