[PATCH 0/4] drm/i915: Use the gen3+ irq code on gen2

Ville Syrjala ville.syrjala at linux.intel.com
Fri Sep 27 14:35:41 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Eliminate the special gen2 irq code by simply reusing the
gen3+ code on gen2. Works just fine on actual hardware.

I generated the last patch with -U20 to help with review.
Unfortunately it still didn't pick up i915_irq_handler()
I don't suppose there's a magic knob to tell git diff
to include a specific function wholesale in the context?

Ville Syrjälä (4):
  drm/i915: Introduce i915_has_legacy_blc_interrupt()
  drm/i915: Clean up gen3 hotplug irq setup
  drm/i915: Clean up some comments in gmch irq code
  drm/i915: Switch over to gen3 irq code on gen2

 .../gpu/drm/i915/display/intel_display_irq.c  |  38 ++--
 .../gpu/drm/i915/display/intel_display_irq.h  |   1 -
 drivers/gpu/drm/i915/i915_irq.c               | 202 ++----------------
 3 files changed, 28 insertions(+), 213 deletions(-)

-- 
2.45.2



More information about the Intel-gfx mailing list