[Intel-xe] [PATCH 0/2] Some changes for Xe in spinlock handling in i915/display

Luca Coelho luciano.coelho at intel.com
Tue Sep 19 09:47:35 UTC 2023


Hi,

These patches are doing some cleaning up in i915 display code related
to spinlocks.  One of the patches addresses a change that should not
be there, namely the addition of _irqsave() in code where the
interrupts are already disabled.  The other patch abstracts the use of
uncore's spinlock so that we only use it when i915's uncore is
available, which is not the case in Xe builds.

Please review.

Cheers,
Luca.


Luca Coelho (2):
  Revert "FIXME: drm/i915/crtc: use irqsave for locking event_lock"
  drm/i915: handle uncore spinlock when not available

 drivers/gpu/drm/i915/display/intel_crtc.c    |  6 ++--
 drivers/gpu/drm/i915/display/intel_display.h | 20 +++++++++++++
 drivers/gpu/drm/i915/display/intel_vblank.c  | 31 +++++++-------------
 3 files changed, 32 insertions(+), 25 deletions(-)

-- 
2.39.2



More information about the Intel-xe mailing list