Re: [PATCH v10 2/9] drm/mediatek: Add crtc path enum for all_drm_priv array

2023-09-28 Thread AngeloGioacchino Del Regno
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 Reviewed-by: Fei Shao Reviewed-by: CK Hu Tested-by

[PATCH v10 2/9] drm/mediatek: Add crtc path enum for all_drm_priv array

2023-09-27 Thread Jason-JH . Lin
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 Reviewed-by: Fei Shao Reviewed-by: CK Hu Tested-by: Fei Shao --- drivers/gpu/drm/mediatek/mtk_