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 <[email protected]>
---
  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 <[email protected]>

--
With best wishes
Dmitry

Reply via email to