intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v2 0/8] Interrupt cleanup and future-proofing
@ 2023-04-01  0:20 Matt Roper
  2023-04-01  0:20 ` [Intel-xe] [PATCH v2 1/8] drm/xe/irq: Drop gen3_ prefixes Matt Roper
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Matt Roper @ 2023-04-01  0:20 UTC (permalink / raw)
  To: intel-xe; +Cc: Lucas De Marchi, matthew.d.roper

A lot of the interrupt code in the Xe driver was copied directly from
i915.  Since Xe only supports Xe_LP and later platforms, there's some
cleanup and simplification that can be done.

Also fix one mistake that would have become a bug in the future if we
ever wind up with a multi-tile platform that also supports display.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>

Matt Roper (8):
  drm/xe/irq: Drop gen3_ prefixes
  drm/xe/irq: Add helpers to find ISR/IIR/IMR/IER registers
  drm/xe/irq: Drop IRQ_INIT and IRQ_RESET macros
  drm/xe/irq: Drop unnecessary GEN11_ and GEN12_ register prefixes
  drm/xe/irq: Rename and clarify top-level interrupt handling routines
  drm/xe/irq: Drop remaining "gen11_" prefix from IRQ functions
  drm/xe/irq: Drop commented-out code for non-existent media engines
  drm/xe/irq: Don't clobber display interrupts on multi-tile platforms

 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  42 ++--
 drivers/gpu/drm/xe/regs/xe_regs.h    |  25 +--
 drivers/gpu/drm/xe/xe_display.c      |   4 +-
 drivers/gpu/drm/xe/xe_guc.c          |   6 +-
 drivers/gpu/drm/xe/xe_irq.c          | 288 ++++++++++++++-------------
 5 files changed, 180 insertions(+), 185 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-04  6:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-01  0:20 [Intel-xe] [PATCH v2 0/8] Interrupt cleanup and future-proofing Matt Roper
2023-04-01  0:20 ` [Intel-xe] [PATCH v2 1/8] drm/xe/irq: Drop gen3_ prefixes Matt Roper
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 2/8] drm/xe/irq: Add helpers to find ISR/IIR/IMR/IER registers Matt Roper
2023-04-01  0:37   ` Lucas De Marchi
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 3/8] drm/xe/irq: Drop IRQ_INIT and IRQ_RESET macros Matt Roper
2023-04-04  6:22   ` Lucas De Marchi
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 4/8] drm/xe/irq: Drop unnecessary GEN11_ and GEN12_ register prefixes Matt Roper
2023-04-04  6:15   ` Lucas De Marchi
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 5/8] drm/xe/irq: Rename and clarify top-level interrupt handling routines Matt Roper
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 6/8] drm/xe/irq: Drop remaining "gen11_" prefix from IRQ functions Matt Roper
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 7/8] drm/xe/irq: Drop commented-out code for non-existent media engines Matt Roper
2023-04-01  0:21 ` [Intel-xe] [PATCH v2 8/8] drm/xe/irq: Don't clobber display interrupts on multi-tile platforms Matt Roper
2023-04-01  0:34 ` [Intel-xe] ✓ CI.Patch_applied: success for Interrupt cleanup and future-proofing (rev2) Patchwork
2023-04-01  0:36 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-04-01  0:39 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-04-01  0:59 ` [Intel-xe] ○ CI.BAT: info " 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).