]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/{i915,xe}/display: move irq calls to parent interface
authorJani Nikula <jani.nikula@intel.com>
Mon, 17 Nov 2025 09:16:10 +0000 (11:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Nov 2025 17:33:43 +0000 (19:33 +0200)
commit3815e8f2ffe44396d10b100fbd38f511dfefbbc7
tree410dec536aee440a63941786197ac225f4da9fc6
parenta651be53c42ae1cd44d51a7e7913edbbee976c99
drm/{i915,xe}/display: move irq calls to parent interface

Add an irq parent driver interface for the .enabled and .synchronize
calls. This lets us drop the dependency on i915_drv.h and i915_irq.h in
multiple places, and subsequently remove the compat i915_irq.h and
i915_irq.c files along with the display/ext directory from xe
altogether.

Introduce new intel_parent.[ch] as the wrapper layer to chase the
function pointers and convert between generic and more specific display
types.

v2: Keep static wrappers in intel_display_irq.c (Ville)

v3: Full blown wrappers in intel_parent.[ch] (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/dd62dd52ef10d9ecf77da3bdf6a70f71193d141c.1763370931.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
18 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_display_irq.c
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power_well.c
drivers/gpu/drm/i915/display/intel_gmbus.c
drivers/gpu/drm/i915/display/intel_hotplug.c
drivers/gpu/drm/i915/display/intel_lpe_audio.c
drivers/gpu/drm/i915/display/intel_parent.c [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_parent.h [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_pipe_crc.c
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.h
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/compat-i915-headers/i915_irq.h [deleted file]
drivers/gpu/drm/xe/display/ext/i915_irq.c [deleted file]
drivers/gpu/drm/xe/display/xe_display.c
include/drm/intel/display_parent_interface.h