]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/aux: use polling when irqs are unavailable
authorMichał Grzelak <michal.grzelak@intel.com>
Thu, 16 Apr 2026 16:37:44 +0000 (18:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 May 2026 12:38:43 +0000 (15:38 +0300)
commit05e0550b65cd1604bd515fbc65f522bce4c10a87
treec6673e803cfd9ab6862a2a8a0b0badaefcde7eaf
parentfed4921503a8a346ea4e6826eee7658f480341ec
drm/i915/aux: use polling when irqs are unavailable

PTL with physically disconnected display was observed to have 40s longer
execution time when testing xe_fault_injection@xe_guc_mmio_send_recv.
The issue has not been seen when reverting commit 40a9f77a28fa ("Revert
"drm/i915/dp: change aux_ctl reg read to polling read"").

Apparently the configuration suffers from not having AUX enabled when
using interrupts. One probable cause can be xe enabling interrupts too
late: interrupts need memory allocations which currently can't be done
before the display FB takeover is done.

As for now, use polling for AUX in case interrupts are unavailable.

Fixes: 40a9f77a28fa ("Revert "drm/i915/dp: change aux_ctl reg read to polling read"")
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Michał Grzelak <michal.grzelak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260416163744.288107-1-michal.grzelak@intel.com
drivers/gpu/drm/i915/display/intel_dp_aux.c