[PATCH v3 2/2] drm/dp: drop the size parameter from drm_dp_vsc_sdp_pack()

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Tue Feb 20 20:40:33 UTC 2024


On Tue, 20 Feb 2024 at 21:54, Abhinav Kumar <quic_abhinavk at quicinc.com> wrote:
>
> Currently the size parameter of drm_dp_vsc_sdp_pack() is always
> the size of struct dp_sdp. Hence lets drop this parameter and
> use sizeof() directly.
>
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Signed-off-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> ---
>  drivers/gpu/drm/display/drm_dp_helper.c | 8 ++------
>  drivers/gpu/drm/i915/display/intel_dp.c | 3 +--
>  include/drm/display/drm_dp_helper.h     | 3 +--
>  3 files changed, 4 insertions(+), 10 deletions(-)

Thank you!

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



-- 
With best wishes
Dmitry


More information about the Freedreno mailing list