Re: [PATCH v7 4/5] drm/panthor: Use existing OPP table if present

From: AngeloGioacchino Del Regno

Date: Wed Oct 15 2025 - 04:58:49 EST


Il 15/10/25 10:50, Nicolas Frattaroli ha scritto:
On SoCs where the GPU's power-domain is in charge of setting performance
levels, the OPP table of the GPU node will have already been populated
during said power-domain's attach_dev operation.

To avoid initialising an OPP table twice, only set the OPP regulator and
the OPPs from DT if there's no OPP table present.

Reviewed-by: Chia-I Wu <olvaffe@xxxxxxxxx>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@xxxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>