[PATCH 5/6] drm/msm/dp: Use function arguments for timing configuration

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Tue Mar 26 17:33:24 UTC 2024


On Tue, 26 Mar 2024 at 17:06, Bjorn Andersson <andersson at kernel.org> wrote:
>
> From: Bjorn Andersson <quic_bjorande at quicinc.com>
>
> dp_catalog_panel_timing_cfg() takes 4 arguments, which are passed from
> the calling function through members of struct dp_catalog.
>
> No state is maintained other than across this call, so switch to
> function arguments to clean up the code.
>
> Signed-off-by: Bjorn Andersson <quic_bjorande at quicinc.com>
> ---
>  drivers/gpu/drm/msm/dp/dp_catalog.c | 14 ++++++--------
>  drivers/gpu/drm/msm/dp/dp_catalog.h |  7 ++-----
>  drivers/gpu/drm/msm/dp/dp_panel.c   | 14 +++++++++-----
>  3 files changed, 17 insertions(+), 18 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the Freedreno mailing list