Re: [PATCH 4/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs

2023-05-02 Thread Dmitry Baryshkov
On 03/05/2023 02:19, Abhinav Kumar wrote: On 5/2/2023 4:15 PM, Dmitry Baryshkov wrote: On Wed, 3 May 2023 at 02:04, Abhinav Kumar wrote: On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote: Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and struct dpu_enc_phys_init_params. Set t

Re: [PATCH 4/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs

2023-05-02 Thread Abhinav Kumar
On 5/2/2023 4:15 PM, Dmitry Baryshkov wrote: On Wed, 3 May 2023 at 02:04, Abhinav Kumar wrote: On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote: Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and struct dpu_enc_phys_init_params. Set the hw_intf and hw_wb directly and use them

Re: [PATCH 4/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs

2023-05-02 Thread Dmitry Baryshkov
On Wed, 3 May 2023 at 02:04, Abhinav Kumar wrote: > > > > On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote: > > Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and > > struct dpu_enc_phys_init_params. Set the hw_intf and hw_wb directly and > > use them to get the instance index. > > > >

Re: [PATCH 4/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs

2023-05-02 Thread Abhinav Kumar
On 4/30/2023 4:57 PM, Dmitry Baryshkov wrote: Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and struct dpu_enc_phys_init_params. Set the hw_intf and hw_wb directly and use them to get the instance index. Signed-off-by: Dmitry Baryshkov --- From whatever I can see, this wil

[PATCH 4/7] drm/msm/dpu: drop duplicated intf/wb indices from encoder structs

2023-04-30 Thread Dmitry Baryshkov
Remove intf_idx and wb_idx fields from struct dpu_encoder_phys and struct dpu_enc_phys_init_params. Set the hw_intf and hw_wb directly and use them to get the instance index. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 72 --- .../gpu/drm/m