drm/msm/dpu: Print interrupt index in addition to the mask
authorMarijn Suijten <marijn.suijten@somainline.org>
Mon, 21 Nov 2022 22:24:55 +0000 (23:24 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 8 Jan 2023 20:21:08 +0000 (22:21 +0200)
commitd45e5744ab3972c09995574d15ecfc42de53d651
tree058da93e5466429728af9f5ecceb68360f01a116
parent21e9a838f505178e109ccb3bf19d7808eb0326f4
drm/msm/dpu: Print interrupt index in addition to the mask

The mask only describes the `irq_idx % 32` part, making it generally
impossible to deduce what interrupt is being enabled/disabled.  Since
`debug/core_irq` in debugfs (and other prints) also include the full
`DPU_IRQ_IDX()` value, print the same full value here for easier
correlation instead of only adding the `irq_idx / 32` part.

Furthermore, make the dbgstr messages more consistent.

Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Martin Botka <martin.botka@somainline.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/512460/
Link: https://lore.kernel.org/r/20221121222456.437815-1-marijn.suijten@somainline.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c