[PATCH v10 14/24] drm/mediatek: Power on/off devices with function pointers
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Oct 19 02:07:47 PDT 2023
Il 19/10/23 07:56, Hsiao Chien Sung ha scritto:
> Different from OVL, OVL adaptor is a pseudo device so we didn't
> define it in the device tree, consequently, pm_runtime_resume_and_get()
> called by .atomic_enable() powers on no device. For this reason, we
> implement a function to power on the RDMAs in OVL adaptor, and the
> system will make sure the IOMMUs are powered on as well because of the
> device link (iommus) in the RDMA nodes in DTS.
>
> This patch separates power and clock management process, it would be
> easier to maintain and extensions.
>
> Signed-off-by: Hsiao Chien Sung <shawn.sung at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list