Re: [Freedreno] [PATCH v3 4/6] drm/msm/dpu: make the irq table size static

2023-07-29 Thread Marijn Suijten
On 2023-07-29 02:31:58, Dmitry Baryshkov wrote: > The size of the irq table is static, it has MDP_INTR_MAX * 32 interrupt > entries. Provide the fixed length and drop struct_size() statement. Good call. I thought it was supposed to be allocated based on enabled interrupts (but then indexing

[Freedreno] [PATCH v3 4/6] drm/msm/dpu: make the irq table size static

2023-07-28 Thread Dmitry Baryshkov
The size of the irq table is static, it has MDP_INTR_MAX * 32 interrupt entries. Provide the fixed length and drop struct_size() statement. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 13 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h