[PATCH v9 2/7] drm/mediatek: Add crtc path enum for all_drm_priv array

Fei Shao fshao at chromium.org
Wed Aug 9 22:35:37 PDT 2023


On Thu, Aug 10, 2023 at 2:15 AM Jason-JH.Lin <jason-jh.lin at mediatek.com> wrote:
>
> 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>

Tested with MT8188 and the internal display is up and functioning.

Reviewed-by: Fei Shao <fshao at chromium.org>
Tested-by: Fei Shao <fshao at chromium.org>



More information about the Linux-mediatek mailing list