From patchwork Mon Feb 14 18:59:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 12746024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22702C433F5 for ; Mon, 14 Feb 2022 18:59:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3F40810E2A0; Mon, 14 Feb 2022 18:59:16 +0000 (UTC) Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB93510E2A0; Mon, 14 Feb 2022 18:59:14 +0000 (UTC) Date: Mon, 14 Feb 2022 19:59:08 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1644865149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=zP8LB4HkVOqhmT8sSm46sr/fIq3ZeBB1Hp6r1eTFbwc=; b=XLySJoJxPEDoIi30Ct73No2HgK2/ZTbp23bFgiEjKpQQMiLVtoDD8hrv1Tf3cdZ0/Wzl/4 SbJ0XBSoXTaAtwxkQrf9krklYsRBVJPRyWBHYtlam/8RxnR4hvWyY7LPZ6BXQKGt9/QouO hneDQ96o9vTrtO9GqI4nT0ckmme1z8azz47fz1jLa688jbXT9ASLXSjaFC1LnATJDQ2x98 vIsz9HIVOiMwyhqP4sEUnrbx6FUI3qwJX9bYwY1iyEiB9Rc4g0p8T+dbsfv3wRQ9SdvMLI SU0q3F/fSuzoiZYvjR8/9D13Y6Fpbrx2WiUZqPXvQPexouAs7lVIdkhVq0EDaw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1644865149; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=zP8LB4HkVOqhmT8sSm46sr/fIq3ZeBB1Hp6r1eTFbwc=; b=6dpPtEfAT4FQJ8CbBEi+aYwKxVuFnCwytcmlrY1eY8WOynkRXiCKT6QtTBCiNfJhVV7tD0 riYs2MTf1egktXAw== From: Sebastian Andrzej Siewior To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH] drm/i915: Depend on !PREEMPT_RT. Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , David Airlie , Rodrigo Vivi , Thomas Gleixner Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" There are a few sections in the driver which are not compatible with PREEMPT_RT. They trigger warnings and can lead to deadlocks at runtime. Disable the i915 driver on a PREEMPT_RT enabled kernel. This way PREEMPT_RT itself can be enabled without needing to address the i915 issues first. The RT related patches are still in RT queue and will be handled later. Signed-off-by: Sebastian Andrzej Siewior Acked-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index a4c94dc2e2164..3aa719d5a0f0d 100644 --- a/drivers/gpu/drm/i915/Kconfig +++ b/drivers/gpu/drm/i915/Kconfig @@ -3,6 +3,7 @@ config DRM_I915 tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" depends on DRM depends on X86 && PCI + depends on !PREEMPT_RT select INTEL_GTT select INTERVAL_TREE # we need shmfs for the swappable backing store, and in particular