mbox series

[0/4] drm/i915: Vblank/CRC irq stuf

Message ID 20241001195803.3371-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Vblank/CRC irq stuf | expand

Message

Ville Syrjälä Oct. 1, 2024, 7:57 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

I recently ran some igts on my i915gm and i945gm and noticed
that the CRC interrupt suffers from the same C-state issue
that vblank interrupts had. I guess that shuld come as a
no surprise to me. So we need to extend the clock gating
disable trick to CRC interrupts as well.

I also got fed up with the state of the vblank enable/disable
functions, and proceeded to do some cleanup.

Ville Syrjälä (4):
  drm/i915/irq: Nuke stale comments
  drm/i915/irq: Pair up the vblank enable/disable functions
  drm/i915: Extract i915gm_irq_cstate_wa_{disable,enable}()
  drm/i915: Apply the i915gm/i945gm irq C-state w/a to CRC interrupts

 .../gpu/drm/i915/display/intel_display_irq.c  | 140 ++++++++++--------
 .../gpu/drm/i915/display/intel_display_irq.h  |   2 +
 drivers/gpu/drm/i915/display/intel_pipe_crc.c |   4 +
 3 files changed, 86 insertions(+), 60 deletions(-)