Re: [PATCH v2 2/2] drm/msm/dpu: use PINGPONG_NONE to unbind WB from PP

2023-06-04 Thread Marijn Suijten
On 2023-06-04 06:13:08, Dmitry Baryshkov wrote: > Currently the driver passes the PINGPONG index to > dpu_hw_wb_ops::bind_pingpong_blk() callback and uses separate boolean > flag to tell whether WB should be bound or unbound. Simplify this by > passing PINGPONG_NONE in case of unbinding and drop th

[PATCH v2 2/2] drm/msm/dpu: use PINGPONG_NONE to unbind WB from PP

2023-06-03 Thread Dmitry Baryshkov
Currently the driver passes the PINGPONG index to dpu_hw_wb_ops::bind_pingpong_blk() callback and uses separate boolean flag to tell whether WB should be bound or unbound. Simplify this by passing PINGPONG_NONE in case of unbinding and drop the flag completely. Suggested-by: Marijn Suijten Signed