OSDN Git Service

drm/msm: stop storing the array of CRTCs in struct msm_drm_private
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 19 May 2023 15:07:34 +0000 (18:07 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 10 Jul 2023 23:37:53 +0000 (02:37 +0300)
commit274f161474627646e16ce69a304030ff34d492ff
treee18925162dfb49459b22660db4eec5a72efc09b7
parent9891b3df2b4300d24735c1a1822985d2d173aade
drm/msm: stop storing the array of CRTCs in struct msm_drm_private

The array of CRTC in the struct msm_drm_private duplicates a list of
CRTCs in the drm_device. Drop it and use the existing list for CRTC
enumeration.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/538068/
Link: https://lore.kernel.org/r/20230519150734.3879916-1-dmitry.baryshkov@linaro.org
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h