intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/i915/irq: clean up irq reset/init macro hacks
@ 2024-09-26 16:57 Jani Nikula
  2024-09-26 16:57 ` [PATCH 1/3] drm/i915/irq: add struct i915_irq_regs triplet Jani Nikula
                   ` (18 more replies)
  0 siblings, 19 replies; 25+ messages in thread
From: Jani Nikula @ 2024-09-26 16:57 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

Add a struct to hold IMR/IER/IIR registers, and pass them together
instead of the ugly macro hacks with macro name concatenation etc.

BR,
Jani.

Jani Nikula (3):
  drm/i915/irq: add struct i915_irq_regs triplet
  drm/i915/irq: remove GEN3_IRQ_RESET() and GEN3_IRQ_INIT() macros
  drm/i915/irq: remove GEN8_IRQ_RESET_NDX() and GEN8_IRQ_INIT_NDX()
    macros

 .../gpu/drm/i915/display/intel_display_irq.c  | 52 ++++++++--------
 drivers/gpu/drm/i915/gt/intel_gt_irq.c        | 24 ++++----
 drivers/gpu/drm/i915/gt/intel_gt_regs.h       |  4 ++
 drivers/gpu/drm/i915/i915_irq.c               | 59 +++++++++----------
 drivers/gpu/drm/i915/i915_irq.h               | 34 +----------
 drivers/gpu/drm/i915/i915_reg.h               | 53 +++++++++++++++++
 drivers/gpu/drm/i915/i915_reg_defs.h          | 10 ++++
 drivers/gpu/drm/xe/display/ext/i915_irq.c     | 31 +++++-----
 8 files changed, 150 insertions(+), 117 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2024-10-01  0:34 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 16:57 [PATCH 0/3] drm/i915/irq: clean up irq reset/init macro hacks Jani Nikula
2024-09-26 16:57 ` [PATCH 1/3] drm/i915/irq: add struct i915_irq_regs triplet Jani Nikula
2024-09-26 19:12   ` Rodrigo Vivi
2024-09-27  8:04     ` Jani Nikula
2024-09-26 16:57 ` [PATCH 2/3] drm/i915/irq: remove GEN3_IRQ_RESET() and GEN3_IRQ_INIT() macros Jani Nikula
2024-09-26 19:13   ` Rodrigo Vivi
2024-09-26 16:57 ` [PATCH 3/3] drm/i915/irq: remove GEN8_IRQ_RESET_NDX() and GEN8_IRQ_INIT_NDX() macros Jani Nikula
2024-09-26 19:14   ` Rodrigo Vivi
2024-09-26 19:53 ` ✓ CI.Patch_applied: success for drm/i915/irq: clean up irq reset/init macro hacks Patchwork
2024-09-26 19:53 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-26 19:55 ` ✓ CI.KUnit: success " Patchwork
2024-09-26 20:06 ` ✓ CI.Build: " Patchwork
2024-09-26 20:09 ` ✓ CI.Hooks: " Patchwork
2024-09-26 20:10 ` ✗ CI.checksparse: warning " Patchwork
2024-09-27 10:23   ` Jani Nikula
2024-09-26 20:36 ` ✓ CI.BAT: success " Patchwork
2024-09-27 21:36 ` ✗ CI.FULL: failure " Patchwork
2024-09-30 18:20 ` ✓ CI.Patch_applied: success for drm/i915/irq: clean up irq reset/init macro hacks (rev2) Patchwork
2024-09-30 18:21 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-30 18:22 ` ✓ CI.KUnit: success " Patchwork
2024-09-30 18:33 ` ✓ CI.Build: " Patchwork
2024-09-30 18:36 ` ✓ CI.Hooks: " Patchwork
2024-09-30 18:37 ` ✗ CI.checksparse: warning " Patchwork
2024-09-30 19:02 ` ✗ CI.BAT: failure " Patchwork
2024-10-01  0:34 ` ✗ CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).