[PATCH v10 2/9] drm/mediatek: Add crtc path enum for all_drm_priv array
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Sep 28 02:21:17 PDT 2023
Il 27/09/23 17:38, Jason-JH.Lin ha scritto:
> Add mtk_drm_crtc_path enum for each display path.
>
> Instead of using array index of all_drm_priv in mtk_drm_kms_init(),
> mtk_drm_crtc_path enum can make code more readable.
>
> Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>
> Reviewed-by: Fei Shao <fshao at chromium.org>
> Reviewed-by: CK Hu <ck.hu at mediatek.com>
> Tested-by: Fei Shao <fshao at chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list