[PATCH 00/15] drm/i915: refactor display funcs, add display irq hooks

Jani Nikula
2026-04-29T10:25:03Z

I was going to add display irq hooks first, but decided the organization
of the existing hooks under display->funcs is a bit weird. Spread them
out by function first. And then add hooks for display irq calls.

The end goal is to reduce the number of functions exposed from display
to i915 and xe core.

Jani Nikula (15):
drm/i915/display: move audio funcs under audio sub-struct
drm/i915/display: move color funcs under color sub-struct
drm/i915/display: move fdi funcs under fdi sub-struct
drm/i915/display: move watermark funcs under wm sub-struct
drm/i915/display: move hotplug irq funcs under hotplug sub-struct
drm/i915/display: move dpll funcs under dpll sub-struct
drm/i915/display: move cdclk funcs under cdclk sub-struct
drm/i915/display: move display funcs under modeset sub-struct
drm/i915/irq: deduplicate dg1_de_irq_postinstall() and
gen11_de_irq_postinstall()
drm/i915/irq: move VLV/CHV LPE irq handler call after irq acks
drm/i915/irq: constify pipe stats parameters
drm/i915/irq: add display irq funcs, start with
intel_display_irq_reset()
drm/i915/irq: add intel_display_irq_postinstall() to irq funcs
drm/i915/irq: add intel_display_irq_ack() to irq funcs
drm/i915/irq: add intel_display_irq_handler() to irq funcs

drivers/gpu/drm/i915/display/i9xx_wm.c | 22 +-
drivers/gpu/drm/i915/display/intel_audio.c | 22 +-
drivers/gpu/drm/i915/display/intel_cdclk.c | 84 +++----
drivers/gpu/drm/i915/display/intel_color.c | 58 ++---
drivers/gpu/drm/i915/display/intel_display.c | 30 +--
.../gpu/drm/i915/display/intel_display_core.h | 60 ++---
.../gpu/drm/i915/display/intel_display_irq.c | 218 +++++++++++++++---
.../gpu/drm/i915/display/intel_display_irq.h | 37 ++-
drivers/gpu/drm/i915/display/intel_dpll.c | 28 +--
drivers/gpu/drm/i915/display/intel_fdi.c | 8 +-
.../gpu/drm/i915/display/intel_hotplug_irq.c | 30 +--
.../drm/i915/display/intel_initial_plane.c | 4 +-
.../drm/i915/display/intel_modeset_setup.c | 2 +-
drivers/gpu/drm/i915/display/intel_wm.c | 32 +--
drivers/gpu/drm/i915/display/skl_watermark.c | 2 +-
drivers/gpu/drm/i915/i915_irq.c | 182 +++++----------
drivers/gpu/drm/xe/display/xe_display.c | 6 +-
17 files changed, 454 insertions(+), 371 deletions(-)

--
2.47.3