Re: [PATCH 5/7] drm/msm/dpu: inline dpu_encoder_get_wb()

2023-05-02 Thread Dmitry Baryshkov
On 03/05/2023 02:58, Abhinav Kumar wrote: On 5/2/2023 4:54 PM, Dmitry Baryshkov wrote: On 03/05/2023 02:51, Abhinav Kumar wrote: On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote: The function dpu_encoder_get_wb() returns controller_id if the corresponding WB is present in the catalog. We can

Re: [PATCH 5/7] drm/msm/dpu: inline dpu_encoder_get_wb()

2023-05-02 Thread Abhinav Kumar
On 5/2/2023 4:54 PM, Dmitry Baryshkov wrote: On 03/05/2023 02:51, Abhinav Kumar wrote: On 4/30/2023 4:57 PM, 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

Re: [PATCH 5/7] drm/msm/dpu: inline dpu_encoder_get_wb()

2023-05-02 Thread Dmitry Baryshkov
On 03/05/2023 02:51, Abhinav Kumar wrote: On 4/30/2023 4:57 PM, 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

Re: [PATCH 5/7] drm/msm/dpu: inline dpu_encoder_get_wb()

2023-05-02 Thread Abhinav Kumar
On 4/30/2023 4:57 PM, 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.

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

2023-04-30 Thread Dmitry Baryshkov
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. Signed-off-by: Dmitry Baryshkov ---