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 83286D5B848 for ; Mon, 15 Dec 2025 15:48:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FC9E10E61B; Mon, 15 Dec 2025 15:48:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=lankhorst.se header.i=@lankhorst.se header.b="J72IvAFs"; dkim-atps=neutral Received: from lankhorst.se (lankhorst.se [141.105.120.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3581310E623; Mon, 15 Dec 2025 15:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lankhorst.se; s=default; t=1765813676; bh=VBco7zVB9VTaGgt3tIx7GWoTZdb6hMaqwzco395EbzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J72IvAFsUZxtK1t4p4TMKcZaV+9FJxYiyR/5oulPlppN+SXJY7KwmapdC7G+Faml8 hsEgkMKdC5o51DiCREX/MxOZ4X9ZAO9N5zUwslAt0X9drs5afuGxAtvSjgqYbLfv6K WSOiwdnX0mXIo99UrsfEizLstZTw6zWmhSR8fKgK3SApUsELmR7xuJ5Jg1+vvw2CFh L5xOuqV0GvGAb1FowgaxgNsP37nO+6P5Onkqe57N8DaTHhQW+WCGNwQaL2mlxQ/F31 QFg3YdTMERBilLI8W8WG4jHtDmoO8wyT13p8EeULcKyisl+tYpRUj0deLLI7RNVcDv WJUnZNvs5akSA== From: Maarten Lankhorst To: intel-xe@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Subject: [i915-rt 11/16] PREEMPT_RT injection Date: Mon, 15 Dec 2025 16:47:51 +0100 Message-ID: <20251215154740.1738648-29-dev@lankhorst.se> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251215154740.1738648-18-dev@lankhorst.se> References: <20251215154740.1738648-18-dev@lankhorst.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" 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