Re: [PATCH] arm64: dts: qcom: msm8916: Add mdp0-mem interconnect to mdss_mdp

From: Stephan Gerhold

Date: Tue Dec 01 2026 - 13:01:18 EST


On Sun, Nov 29, 2026 at 02:59:12AM +0300, Vladimir Bely wrote:
> MSM8916 already defines the bimc/snoc interconnect providers and the
> qnoc-msm8916 driver is enabled by default on arm64, but the mdss_mdp node
> is missing the mdp0-mem interconnect path.
>
> Without it, mdp5 logs "No interconnect support may cause display
> underflows!" on boot and does not vote for memory bus bandwidth, leading
> to display interface underruns (MDP5_IRQ_INTF1_UNDER_RUN), vblank
> timeouts, and subsequent IOMMU context faults under memory/I/O load.
>

Is that something you actually reproduced or just a theory based on the
harmless log message? The current setup has been used on hundreds of
devices over the past years and I have never seen any reports of actual
display underflows.

The reason why it should work fine without this property is that the
MSM8916 interconnect driver does not have .sync_state() defined, so
effectively we should run with all interconnect clocks maxed all the
time.

It would be nice to enable proper interconnect scaling on these older
SoCs, but in practice this is a "all or nothing" thing. All drivers must
vote for neccessary bandwidth or we'll run into bad performance as soon
as the display gets disabled.

I would expect that adding individual interconnect properties without
enabling sync_state() makes no or only very little difference in
practice. On the other hand, it adds yet another setup that we will need
to support for DT ABI compatibility later. The current setup is easy to
detect because there are no interconnect consumers at all, merging this
patch would make this more complex.

Investigating which drivers currently still lack interconnect support in
msm8916.dtsi and adding support for these would be much appreciated on
the other hand. :-)

Thanks,
Stephan