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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As we are preparing towards expanding some of the macros, it would make
sense to change 'no interrupt' from -1 to 0. This would allow us to skip
the field assignment completely rather than having an explicit assignment
.intr_foo = -1.

Dmitry Baryshkov (8):
  drm/msm/dpu: fix sc7280 and sc7180 PINGPONG done interrupts
  drm/msm/dpu: use PP_BLK_DITHER for DPU 6.x
  drm/msm/dpu: don't pass intr_rdptr to PP_BLK_DITHER
  drm/msm/dpu: split PP_BLK_NO_TE from PP_BLK
  drm/msm/dpu: remove irq_idx argument from IRQ callbacks
  drm/msm/dpu: move several IRQ-related defines
  drm/msm/dpu: add helper to get IRQ-related data
  drm/msm/dpu: shift IRQ indices by 1

 .../msm/disp/dpu1/catalog/dpu_5_0_sm8150.h    | 30 +++---
 .../msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h   | 30 +++---
 .../msm/disp/dpu1/catalog/dpu_6_0_sm8250.h    | 30 +++---
 .../msm/disp/dpu1/catalog/dpu_6_2_sc7180.h    |  6 +-
 .../msm/disp/dpu1/catalog/dpu_6_3_sm6115.h    |  5 +-
 .../msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h   |  5 +-
 .../msm/disp/dpu1/catalog/dpu_7_0_sm8350.h    | 18 ++--
 .../msm/disp/dpu1/catalog/dpu_7_2_sc7280.h    | 12 ++-
 .../msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h  | 12 +--
 .../msm/disp/dpu1/catalog/dpu_8_1_sm8450.h    | 24 ++---
 .../msm/disp/dpu1/catalog/dpu_9_0_sm8550.h    | 24 ++---
 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h  |  8 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   |  6 +-
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h  |  4 +-
 .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  |  8 +-
 .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c  |  4 +-
 .../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c   | 16 +---
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 17 +++-
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h    | 14 +--
 .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 92 +++++++++++--------
 .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 18 ++--
 21 files changed, 186 insertions(+), 197 deletions(-)

-- 
2.39.2




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux