[Freedreno] [PATCH 6/7] drm/msm/dp: Inline dp_link_parse_sink_count()
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun Sep 3 22:39:56 UTC 2023
On 29/08/2023 21:47, Stephen Boyd wrote:
> The function dp_link_parse_sink_count() is really just
> drm_dp_read_sink_count(). It debug prints out the bit for content
> protection (DP_SINK_CP_READY), but that is not useful beyond debug
> because 'link->dp_link.sink_count' is overwritten to only contain the
> sink_count in this same function. Just use drm_dp_read_sink_count() in
> the one place this function is called to simplify.
>
> Cc: Vinod Polimera <quic_vpolimer at quicinc.com>
> Cc: Kuogee Hsieh <quic_khsieh at quicinc.com>
> Signed-off-by: Stephen Boyd <swboyd at chromium.org>
> ---
> drivers/gpu/drm/msm/dp/dp_link.c | 38 +++-----------------------------
> 1 file changed, 3 insertions(+), 35 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the Freedreno
mailing list