From mboxrd@z Thu Jan 1 00:00:00 1970 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 D94B1FD2D82 for ; Tue, 10 Mar 2026 11:57:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B1C510E6EB; Tue, 10 Mar 2026 11:57:48 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=lankhorst.se header.i=@lankhorst.se header.b="bnxebMrk"; dkim-atps=neutral Received: from lankhorst.se (unknown [141.105.120.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7107910E6DF; Tue, 10 Mar 2026 11:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lankhorst.se; s=default; t=1773143864; bh=lrcUxclBSkr+3S1JEQjxufiM7ar00+YY89+dveOvBfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bnxebMrksPfBeKyD+A6AktvxNrDPAdEwReHQNZsSvKDgtJpJUQtcbscqrVaeY/WMh DF5/aP7QQ/kML8rCdzAQhls/pPcJYa2SPUDvGB6a4wZCWy/ilStSOy0Go8zbI40TpE AmVL4w96AWbd5WoxnzrZcH7Hl+4jbswY7GjpA+d7dxdCtXjhFyBP13vDD9wmmmFJmm OyiK6YRtSecOGnlYHxnIU0RJaT8yizNjaMi/JWSVop1eNql0uK78p4LaQZXLydG+pj GubE1VeSOp/rAD0Yn9OoX0cOQHLN6Pf3uuNgtBjy2yC4aWjql01q6UwRppuYZT87bj 8fDn0vwlN7B7w== From: Maarten Lankhorst To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org, Maarten Lankhorst Subject: [PATCH v7 24/26] PREEMPT_RT injection Date: Tue, 10 Mar 2026 12:57:06 +0100 Message-ID: <20260310115709.2276203-25-dev@lankhorst.se> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260310115709.2276203-1-dev@lankhorst.se> References: <20260310115709.2276203-1-dev@lankhorst.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 88c594c6d7fcd..11bec9be95405 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -90,9 +90,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