]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: reduce usage of round_pixclk callback
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 6 Jan 2022 07:06:56 +0000 (10:06 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Feb 2022 15:32:52 +0000 (18:32 +0300)
commitb8f729e22283d0ea0d2226e5917fd4105408137f
treee3fa2b302dc6dcab4b254e1a247f89aa2e65781f
parentdb887c7dd714910180b27deffd95975d3b99958c
drm/msm: reduce usage of round_pixclk callback

The round_pixclk() callback returns different rate only on MDP4 in HDMI
(DTV) case. Stop using this callback in other cases to simplify
mode_valid callbacks.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://lore.kernel.org/r/20220106070656.482882-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/dsi/dsi_manager.c
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c