[PATCH v5 12/16] drm/msm/dpu: make dpu_format_populate_addrs return void

Abhinav Kumar quic_abhinavk at quicinc.com
Fri Jul 19 22:46:20 UTC 2024



On 6/24/2024 2:13 PM, Dmitry Baryshkov wrote:
> The function msm_framebuffer_iova() can not fail, it always returns a
> valid address. Drop the useless checks (that were already performed at
> the time) and make dpu_format_populate_addrs() return void.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c    |  6 +--
>   drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c        | 62 +++++-----------------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h        | 10 ++--
>   drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c          | 14 ++---
>   4 files changed, 21 insertions(+), 71 deletions(-)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the dri-devel mailing list