[PATCH v3 4/7] drm/msm/dpu: inline dpu_encoder_get_wb()

Abhinav Kumar quic_abhinavk at quicinc.com
Thu Jun 1 19:35:46 UTC 2023



On 6/1/2023 10:22 AM, Dmitry Baryshkov wrote:
> The function dpu_encoder_get_wb() returns controller_id if the
> corresponding WB is present in the catalog. We can inline this function
> and rely on dpu_rm_get_wb() returning NULL for indices for which the
> WB is not present on the device.
> 
> Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---

Tested-by: Abhinav Kumar <quic_abhinavk at quicinc.com> # sc7280


More information about the dri-devel mailing list