On 11.10.2024 10:29 PM, Akhil P Oommen wrote:
> ACD a.k.a Adaptive Clock Distribution is a feature which helps to reduce
> the power consumption. In some chipsets, it is also a requirement to
> support higher GPU frequencies. This patch adds support for GPU ACD by
> sending necessary data to GMU and AOSS. The feature support for the
> chipset is detected based on devicetree data.
> 
> Signed-off-by: Akhil P Oommen <quic_akhi...@quicinc.com>
> ---

[...]

> +
> +     /* Initialize qmp node to talk to AOSS */
> +     gmu->qmp = qmp_get(gmu->dev);
> +     if (IS_ERR(gmu->qmp)) {
> +             cmd->enable_by_level = 0;
> +             return dev_err_probe(gmu->dev, PTR_ERR(gmu->qmp), "Failed to 
> initialize qmp\n");
> +     }

I'm still in favor of keeping qmp_get where it currently is, so that
probe can fail/defer faster

Konrad

Reply via email to