Skip to content

Commit c41cd16

Browse files
clrkwllmsjnettlet
authored andcommitted
i915: bogus warning from i915 when running on PREEMPT_RT
The i915 driver has a 'WARN_ON(!in_interrupt())' in the display handler, which whines constanly on the RT kernel (since the interrupt is actually handled in a threaded handler and not actual interrupt context). Change the WARN_ON to WARN_ON_NORT Tested-by: Joakim Hernberg <[email protected]> Signed-off-by: Clark Williams <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
1 parent a9e255c commit c41cd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12139,7 +12139,7 @@ void intel_check_page_flip(struct drm_i915_private *dev_priv, int pipe)
1213912139
struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
1214012140
struct intel_flip_work *work;
1214112141

12142-
WARN_ON(!in_interrupt());
12142+
WARN_ON_NONRT(!in_interrupt());
1214312143

1214412144
if (crtc == NULL)
1214512145
return;

0 commit comments

Comments
 (0)