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@xxxxxxxxxxx> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> ---
Tested-by: Abhinav Kumar <quic_abhinavk@xxxxxxxxxxx> # sc7280