Re: [PATCH v5 0/8] drm/msm/dpu: change interrupts code to make 0 be the no IRQ

2023-10-08 Thread Dmitry Baryshkov
On Wed, 02 Aug 2023 13:04:18 +0300, Dmitry Baryshkov wrote: > Having an explicit init of interrupt fields to -1 for not existing IRQs > makes it easier to forget and/or miss such initialisation, resulting in > a wrong interrupt definition. > > Instead shift all IRQ indices to turn '0' to be the

Re: [PATCH v5 0/8] drm/msm/dpu: change interrupts code to make 0 be the no IRQ

2023-08-04 Thread Dmitry Baryshkov
On Wed, 02 Aug 2023 13:04:18 +0300, Dmitry Baryshkov wrote: > Having an explicit init of interrupt fields to -1 for not existing IRQs > makes it easier to forget and/or miss such initialisation, resulting in > a wrong interrupt definition. > > Instead shift all IRQ indices to turn '0' to be the

[PATCH v5 0/8] drm/msm/dpu: change interrupts code to make 0 be the no IRQ

2023-08-02 Thread Dmitry Baryshkov
Having an explicit init of interrupt fields to -1 for not existing IRQs makes it easier to forget and/or miss such initialisation, resulting in a wrong interrupt definition. Instead shift all IRQ indices to turn '0' to be the non-existing IRQ. Dependencies: [1] [1] https://patchwork.freedesktop.