Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891AbbEZNe4 (ORCPT ); Tue, 26 May 2015 09:34:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40339 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbbEZNev (ORCPT ); Tue, 26 May 2015 09:34:51 -0400 Date: Tue, 26 May 2015 08:34:49 -0500 From: Clark Williams To: Sebastian Andrzej Siewior Cc: linux-rt-users , LKML , Thomas Gleixner , rostedt@goodmis.org, John Kacur Subject: Re: [ANNOUNCE] 4.0.4-rt1 Message-ID: <20150526083449.5357059b@sluggy> In-Reply-To: <20150519213923.GA26363@linutronix.de> References: <20150519213923.GA26363@linutronix.de> Organization: Red Hat, Inc MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 42 On Tue, 19 May 2015 23:39:23 +0200 Sebastian Andrzej Siewior wrote: > Dear RT folks! > > I'm pleased to announce the v4.0.4-rt1 patch set. > Sebastian, The i915 driver has a 'WARN_ON(!in_interrupt())' in the display handler, which whines constantly on the RT kernel (since the interrupt is actually handled in a threaded handler and not actual interrupt context). Ifdef it out for PREEMPT_RT_FULL. Signed-off-by: Clark Williams --- drivers/gpu/drm/i915/intel_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index f75173c20f47..f532b22f56ba 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -9745,7 +9745,9 @@ void intel_check_page_flip(struct drm_device *dev, int pipe) struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; struct intel_crtc *intel_crtc = to_intel_crtc(crtc); +#ifndef CONFIG_PREEMPT_RT_FULL WARN_ON(!in_interrupt()); +#endif if (crtc == NULL) return; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/