linux/drivers/gpu/drm/msm/dsi
Dmitry Baryshkov 2ec56b232b drm/msm/dsi: properly handle the case of empty OPP table in dsi_mgr_bridge_mode_valid
It was left unnoticed during the review that even if there is no OPP
table in device tree, one will be created by a call to the function
devm_pm_opp_set_clkname(). This leads to dsi_mgr_bridge_mode_valid()
rejecting all modes if DT contains no OPP table for the DSI host.

Rework dsi_mgr_bridge_mode_valid() to handle this case by actually
checking that the table is populated with frequency entries before
returning an error.

Fixes: 8328041b8c ("drm/msm/dsi: implement opp table based check for dsi_mgr_bridge_mode_valid()")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/520076/
Link: https://lore.kernel.org/r/20230124203600.3488766-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2023-01-26 20:51:32 +02:00
..
phy drm/msm/dsi: correct byte intf clock rate for 14nm DSI PHY 2023-01-22 22:42:58 +02:00
dsi.c drm/msm/dsi: drop modeset sanity checks 2022-11-04 17:39:38 +03:00
dsi.h drm/msm/dsi: correct byte intf clock rate for 14nm DSI PHY 2023-01-22 22:42:58 +02:00
dsi.xml.h drm/msm: Update generated headers 2022-04-26 00:56:22 +03:00
dsi_cfg.c drm/msm/dsi: Allow 2 CTRLs on v2.5.0 2023-01-22 22:42:58 +02:00
dsi_cfg.h drm/msm/dsi: add support for DSI 2.7.0 2023-01-22 22:42:57 +02:00
dsi_host.c Merge branches 'msm-next-lumag-core', 'msm-next-lumag-dpu', 'msm-next-lumag-dp', 'msm-next-lumag-dsi', 'msm-next-lumag-hdmi', 'msm-next-lumag-mdp5' and 'msm-next-lumag-mdp4' into msm-next-lumag 2023-01-22 22:43:05 +02:00
dsi_manager.c drm/msm/dsi: properly handle the case of empty OPP table in dsi_mgr_bridge_mode_valid 2023-01-26 20:51:32 +02:00
dsi_phy_7nm.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
dsi_phy_10nm.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
dsi_phy_14nm.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
dsi_phy_20nm.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
dsi_phy_28nm.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
dsi_phy_28nm_8960.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
mmss_cc.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00
sfpb.xml.h drm/msm: Update generated headers 2022-03-04 11:50:41 -08:00