Re: [Freedreno] [PATCH] drm/msm/dpu: simplify dpu_core_irq_en/disable helpers

2021-05-16 Thread Dmitry Baryshkov
On 11/05/2021 17:15, Dmitry Baryshkov wrote: dpu_core_irq_en/disable helpers are always called with the irq_count equal to 1. Merge them with _dpu_core_en/disable functions and make them handle just one interrupt index at a time. Replacing this patch with the squashing enable/disable into regist

[Freedreno] [PATCH] drm/msm/dpu: simplify dpu_core_irq_en/disable helpers

2021-05-11 Thread Dmitry Baryshkov
dpu_core_irq_en/disable helpers are always called with the irq_count equal to 1. Merge them with _dpu_core_en/disable functions and make them handle just one interrupt index at a time. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c | 50 dri