Re: [PATCH 1/3] dt-bindings: gpu: mali-bifrost: Add the MT8188 MFGCFG phandle
From: Krzysztof Kozlowski
Date: Fri Oct 09 2026 - 03:04:40 EST
On Sat, Oct 03, 2026 at 10:01:30PM +0200, Michał Kopeć wrote:
> On MT8188 the GPU timestamp counter only counts once a register in the
> MFG configuration block routes the SoC system timer to it, and the
> setting is lost whenever the GPU power domain is turned off. The GPU
> driver has to restore it on every power-up, so it needs a reference to
> that block.
This looks rather like power domain issue, e.g. missing restore of
registers. Otherwise next time there will be one more phandle and then
one more, each for one register being lost during power down.
>
> Add an optional mediatek,mfgcfg phandle. Allow it on MT8370 as well,
> which shares the GPU and the MFG block with MT8188 and its GPU node in
> mt8188.dtsi. It is optional so that existing devicetrees stay valid;
> without it the timestamp counter reads zero, as before.
>
> Signed-off-by: Michał Kopeć <michal@nozomi.space>
> ---
> .../bindings/gpu/arm,mali-bifrost.yaml | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
Best regards,
Krzysztof