[PATCH 0/3] drm/i915/irq: clean up irq reset/init macro hacks
Jani Nikula
jani.nikula at intel.com
Thu Sep 26 16:57:45 UTC 2024
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
More information about the Intel-gfx
mailing list