Re: [PATCH] soc: mediatek: cmdq: Remove unused helper funciton
From: AngeloGioacchino Del Regno
Date: Mon Feb 20 2023 - 06:31:46 EST
Il 20/02/23 00:34, Chun-Kuang Hu ha scritto:
cmdq_pkt_create(), cmdq_pkt_destroy(), and cmdq_pkt_flush_async()
are not used by all client drivers (MediaTek drm driver and
MediaTek mdp3 driver), so remove them.
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@xxxxxxxxxx>
My next cleanup step would be to migrate both the MediaTek DRM driver
and MDP3 to use the common functions present in mtk-cmdq-helper.
Function mtk_drm_cmdq_pkt_create() is (almost) a clone of cmdq_pkt_create().
NACK.
Regards,
Angelo