Re: [PATCH] drm/msm/dpu: use PINGPONG_NONE to unbind INTF from PP

2023-05-30 Thread Marijn Suijten
On 2023-05-30 01:13:12, Dmitry Baryshkov wrote: > On Tue, 30 May 2023 at 00:46, Marijn Suijten > wrote: > > > > On 2023-05-26 12:09:45, Dmitry Baryshkov wrote: > > > Currently the driver passes the PINGPONG index to > > > dpu_hw_intf_ops::bind_pingpong_blk() callback and uses separate boolean > >

Re: [PATCH] drm/msm/dpu: use PINGPONG_NONE to unbind INTF from PP

2023-05-29 Thread Dmitry Baryshkov
On Tue, 30 May 2023 at 00:46, Marijn Suijten wrote: > > On 2023-05-26 12:09:45, Dmitry Baryshkov wrote: > > Currently the driver passes the PINGPONG index to > > dpu_hw_intf_ops::bind_pingpong_blk() callback and uses separate boolean > > flag to tell whether INTF should be bound or unbound. Simpli

Re: [PATCH] drm/msm/dpu: use PINGPONG_NONE to unbind INTF from PP

2023-05-29 Thread Marijn Suijten
On 2023-05-26 12:09:45, Dmitry Baryshkov wrote: > Currently the driver passes the PINGPONG index to > dpu_hw_intf_ops::bind_pingpong_blk() callback and uses separate boolean > flag to tell whether INTF should be bound or unbound. Simplify this by > passing PINGPONG_NONE in case of unbinding and dro

[PATCH] drm/msm/dpu: use PINGPONG_NONE to unbind INTF from PP

2023-05-26 Thread Dmitry Baryshkov
Currently the driver passes the PINGPONG index to dpu_hw_intf_ops::bind_pingpong_blk() callback and uses separate boolean flag to tell whether INTF should be bound or unbound. Simplify this by passing PINGPONG_NONE in case of unbinding and drop the flag completely. Signed-off-by: Dmitry Baryshkov