Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2023 01:47:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 266315] linuxkpi panic after recent updates (13.1-STABLE #0 stable/13-9cbba5950: Wed Sep  7 23:42:41 CEST 2022)
Message-ID:  <bug-266315-7141-dAnN6jIArM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266315-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266315-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266315

--- Comment #45 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Paul Dufresne from comment #44)
- userptr isn't supported on FreeBSD except the unstable version per
https://github.com/FreeBSDDesktop/kms-drm/issues/197
- xf86-video-intel prefers the unstable version since
https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/commit/dd66ba=
8e5666
- drm-515-kmod no longer supports the unstable version since
https://github.com/torvalds/linux/commit/c6bcc0c2fdfd

Given the above one can try disabling userptr in xf86-video-intel e.g.,

--- src/sna/kgem.c.orig 2021-01-15 20:59:05 UTC
+++ src/sna/kgem.c
@@ -68,7 +68,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int num
 #define DBG_NO_CACHE_LEVEL 0
 #define DBG_NO_CPU 0
 #define DBG_NO_CREATE2 0
-#define DBG_NO_USERPTR 0
+#define DBG_NO_USERPTR 1
 #define DBG_NO_UNSYNCHRONIZED_USERPTR 0
 #define DBG_NO_COHERENT_MMAP_GTT 0
 #define DBG_NO_LLC 0

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266315-7141-dAnN6jIArM>