[PATCH v3 1/2] drm/msm/dsi: add a helper method to compute the dsi byte clk
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Jan 12 03:47:46 UTC 2023
On 12/01/2023 02:15, Abhinav Kumar wrote:
> Re-arrange the dsi_calc_pclk method to two helpers, one to
> compute the DSI byte clk and the other to compute the pclk.
>
> This makes the separation of the two clean and also allows
> clients to compute and use the dsi byte clk separately.
>
> changes in v2:
> - move the assignments to definition lines
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
> drivers/gpu/drm/msm/dsi/dsi.h | 2 ++
> drivers/gpu/drm/msm/dsi/dsi_host.c | 21 ++++++++++++++-------
> 2 files changed, 16 insertions(+), 7 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list