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 2B5C6D5CC89 for ; Tue, 16 Dec 2025 09:22:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 936A310E833; Tue, 16 Dec 2025 09:22:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=lankhorst.se header.i=@lankhorst.se header.b="Z9TA4kLt"; dkim-atps=neutral Received: from lankhorst.se (lankhorst.se [141.105.120.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9920410E810; Tue, 16 Dec 2025 09:22:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lankhorst.se; s=default; t=1765876957; bh=VBco7zVB9VTaGgt3tIx7GWoTZdb6hMaqwzco395EbzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z9TA4kLtPk5r+VkTXTqnaNeqHzOSo2qhFUnqAPRFrwsMa23XrlUq7IXNcjkQczUou laVJkDbxvEs8FZSZjNCVT6DrkXVaffbqsHGHWCITReCqbq4hD0+PSNostEXbCt2bsp if5+6V7o5l2WwREtP5gyhd4gLl/0yrt2IWopvHNt7s9lZl4nUa+Uk+xJDOZR+omKGR vgOPxdzo7oviGbPS+7lajm1iH+j3T6c/yPjrIZl9bMbPNczyNPR+/V3lbkYAUsFzWB 1tKMJy/YFT0A6Mhdld0jVArv5qJp2CDAjnd/wqQEreSBArJZkvD7kwp/lqMGwF0U8U wZC8FSjehNm/w== From: Maarten Lankhorst To: intel-xe@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Subject: [i915-rt v2 11/16] PREEMPT_RT injection Date: Tue, 16 Dec 2025 10:22:38 +0100 Message-ID: <20251216092226.1777909-29-dev@lankhorst.se> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251216092226.1777909-18-dev@lankhorst.se> References: <20251216092226.1777909-18-dev@lankhorst.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/Kconfig.debug | 15 --------------- drivers/gpu/drm/xe/Kconfig.debug | 5 +++++ kernel/Kconfig.preempt | 4 ++-- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index 3562a02ef7adc..0ab10ff41e38d 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -233,21 +233,6 @@ config DRM_I915_LOW_LEVEL_TRACEPOINTS If in doubt, say "N". -config DRM_I915_DEBUG_VBLANK_EVADE - bool "Enable extra debug warnings for vblank evasion" - depends on DRM_I915 - default n - help - Choose this option to turn on extra debug warnings for the - vblank evade mechanism. This gives a warning every time the - the deadline allotted for the vblank evade critical section - is exceeded, even if there isn't an actual risk of missing - the vblank. - - Recommended for driver developers only. - - If in doubt, say "N". - config DRM_I915_DEBUG_RUNTIME_PM bool "Enable extra state checking for runtime PM" depends on DRM_I915 diff --git a/drivers/gpu/drm/xe/Kconfig.debug b/drivers/gpu/drm/xe/Kconfig.debug index 01227c77f6d70..1d5f11c6e88f3 100644 --- a/drivers/gpu/drm/xe/Kconfig.debug +++ b/drivers/gpu/drm/xe/Kconfig.debug @@ -30,6 +30,11 @@ config DRM_XE_DEBUG If in doubt, say "N". +config DRM_I915_DEBUG_VBLANK_EVADE + def_bool y + depends on DRM_XE + + config DRM_XE_DEBUG_VM bool "Enable extra VM debugging info" default n diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index da326800c1c9b..68a6d42c55abe 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -87,9 +87,9 @@ config PREEMPT_LAZY endchoice config PREEMPT_RT - bool "Fully Preemptible Kernel (Real-Time)" - depends on EXPERT && ARCH_SUPPORTS_RT && !COMPILE_TEST + def_bool y select PREEMPTION + depends on ARCH_SUPPORTS_RT help This option turns the kernel into a real-time kernel by replacing various locking primitives (spinlocks, rwlocks, etc.) with -- 2.51.0