Re: [Freedreno] [PATCH 1/2] drm/msm/dsi: remove extra call to dsi_get_pclk_rate()

2023-05-20 Thread Marijn Suijten
On 2023-05-20 03:28:45, Dmitry Baryshkov wrote: > In dsi_calc_clk_rate_v2() there is no need to call dsi_get_pclk_rate(). > This functions has just been called and it's result is stored at function (drop -s) has just been called *inside dsi_calc_pclk()* it's -> its > msm_host->pixel_clk_rate. Use

[Freedreno] [PATCH 1/2] drm/msm/dsi: remove extra call to dsi_get_pclk_rate()

2023-05-19 Thread Dmitry Baryshkov
In dsi_calc_clk_rate_v2() there is no need to call dsi_get_pclk_rate(). This functions has just been called and it's result is stored at msm_host->pixel_clk_rate. Use this variable directly. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1 insertio