Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package evdi for openSUSE:Factory checked in at 2025-12-10 15:30:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evdi (Old) and /work/SRC/openSUSE:Factory/.evdi.new.1939 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evdi" Wed Dec 10 15:30:50 2025 rev:13 rq:1321729 version:1.14.11 Changes: -------- --- /work/SRC/openSUSE:Factory/evdi/evdi.changes 2025-10-03 15:47:17.550188420 +0200 +++ /work/SRC/openSUSE:Factory/.evdi.new.1939/evdi.changes 2025-12-10 15:31:35.648943634 +0100 @@ -1,0 +2,10 @@ +Tue Dec 9 11:54:03 UTC 2025 - Stefan Dirsch <[email protected]> + +- 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch + 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch + 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch + 0004-fix-README-Outdated-link-to-AUR-package.patch + 0005-Fix-building-on-EL-10-kernels.patch + * fixes build agains kernel 6.18 (boo#1254590) + +------------------------------------------------------------------- New: ---- 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch 0004-fix-README-Outdated-link-to-AUR-package.patch 0005-Fix-building-on-EL-10-kernels.patch ----------(New B)---------- New: - 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch New:- 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch New: 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch 0004-fix-README-Outdated-link-to-AUR-package.patch New: 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch 0004-fix-README-Outdated-link-to-AUR-package.patch 0005-Fix-building-on-EL-10-kernels.patch New: 0004-fix-README-Outdated-link-to-AUR-package.patch 0005-Fix-building-on-EL-10-kernels.patch * fixes build agains kernel 6.18 (boo#1254590) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evdi.spec ++++++ --- /var/tmp/diff_new_pack.qag4Z4/_old 2025-12-10 15:31:36.420976184 +0100 +++ /var/tmp/diff_new_pack.qag4Z4/_new 2025-12-10 15:31:36.424976352 +0100 @@ -30,6 +30,11 @@ Source1: evdi-kmp-preamble Source2: evdi-rpmlintrc Patch0: buildfix.patch +Patch1: 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch +Patch2: 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch +Patch3: 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch +Patch4: 0004-fix-README-Outdated-link-to-AUR-package.patch +Patch5: 0005-Fix-building-on-EL-10-kernels.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: pesign-obs-integration BuildRequires: pkgconfig ++++++ 0001-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_looku.patch ++++++ >From 149dbaea6ca49a20fa04636cf4a60ca5ee75b8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Spintzyk?= <[email protected]> Date: Mon, 13 Oct 2025 14:37:34 -0700 Subject: [PATCH 1/5] [Support Linux v6.18] No need to lock in drm_gem_lookup as it is already cares for locking --- module/evdi_modeset.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/evdi_modeset.c b/module/evdi_modeset.c index cadd791..9636323 100644 --- a/module/evdi_modeset.c +++ b/module/evdi_modeset.c @@ -134,13 +134,11 @@ static int evdi_crtc_cursor_set(struct drm_crtc *crtc, EVDI_CHECKPT(); if (handle) { - mutex_lock(&dev->struct_mutex); obj = drm_gem_object_lookup(file, handle); if (obj) eobj = to_evdi_bo(obj); else EVDI_ERROR("Failed to lookup gem object.\n"); - mutex_unlock(&dev->struct_mutex); } evdi_cursor_set(evdi->cursor, -- 2.51.0 ++++++ 0002-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unneces.patch ++++++ >From d00021b6a926b5ae14f45c95e908180422425b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Spintzyk?= <[email protected]> Date: Mon, 13 Oct 2025 23:59:29 +0000 Subject: [PATCH 2/5] [Support Linux v6.18] Lock on dev struct_mutex unnecessary as cursor is only modified --- module/evdi_modeset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/module/evdi_modeset.c b/module/evdi_modeset.c index 9636323..6674e4b 100644 --- a/module/evdi_modeset.c +++ b/module/evdi_modeset.c @@ -341,8 +341,6 @@ static void evdi_cursor_atomic_update(struct drm_plane *plane, int32_t cursor_position_x = 0; int32_t cursor_position_y = 0; - mutex_lock(&plane->dev->struct_mutex); - evdi_cursor_position(evdi->cursor, &cursor_position_x, &cursor_position_y); evdi_cursor_move(evdi->cursor, state->crtc_x, state->crtc_y); @@ -367,7 +365,6 @@ static void evdi_cursor_atomic_update(struct drm_plane *plane, cursor_changed = true; } - mutex_unlock(&plane->dev->struct_mutex); if (!evdi->cursor_events_enabled) { if (fb != NULL) { if (efb->obj->allow_sw_cursor_rect_updates) { -- 2.51.0 ++++++ 0003-Support-Linux-v6.18-Remove-lock-on-device-struct_mut.patch ++++++ >From cc97fab0e2cfc7fba980f645b4901280018586db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Spintzyk?= <[email protected]> Date: Tue, 14 Oct 2025 00:10:24 +0000 Subject: [PATCH 3/5] [Support Linux v6.18] Remove lock on device->struct_mutex We unnecesarilly lock struct_mutex here - We do not modify struct drm_device object here. - evdi_pin_pages is already using own lock for pages - drm_gem_create_mmap_offset is already using vma lock inside - struct_mutex is removed since kernel 6.18 --- module/evdi_gem.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/evdi_gem.c b/module/evdi_gem.c index f594d1b..ee1dbcf 100644 --- a/module/evdi_gem.c +++ b/module/evdi_gem.c @@ -402,11 +402,9 @@ int evdi_gem_mmap(struct drm_file *file, struct drm_gem_object *obj; int ret = 0; - mutex_lock(&dev->struct_mutex); obj = drm_gem_object_lookup(file, handle); if (obj == NULL) { - ret = -ENOENT; - goto unlock; + return -ENOENT; } gobj = to_evdi_bo(obj); @@ -429,8 +427,6 @@ int evdi_gem_mmap(struct drm_file *file, out: drm_gem_object_put(&gobj->base); - unlock: - mutex_unlock(&dev->struct_mutex); return ret; } -- 2.51.0 ++++++ 0004-fix-README-Outdated-link-to-AUR-package.patch ++++++ >From 60639abb45f27b44944fa370f6ba4212a11b12a2 Mon Sep 17 00:00:00 2001 From: Lukas Westholt <[email protected]> Date: Mon, 27 Oct 2025 13:36:40 +0100 Subject: [PATCH 4/5] fix(README): Outdated link to AUR package --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6288c41..860926f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ EVDI is usually combined with the DisplayLink driver, we release it as a deb pac There is an community driven GitHub project at [DisplayLink RPM](https://github.com/displaylink-rpm/displaylink-rpm) which is generating RPM package for Fedora, CentOS Stream, Rocky Linux and AlmaLinux OS. It uses our code as the basis to create the RPM packages. -There is also an [AUR package](https://aur.archlinux.org/packages/evdi) maintained by the community. +There is also an [AUR package](https://aur.archlinux.org/packages/evdi-dkms) maintained by the community. ## Contributing -- 2.51.0 ++++++ 0005-Fix-building-on-EL-10-kernels.patch ++++++ >From 9004c9ee6caeddc56b95cdaa82281e073035f251 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" <[email protected]> Date: Sat, 15 Nov 2025 23:31:39 -0500 Subject: [PATCH 5/5] Fix building on EL 10 kernels The EL 10 kernels are on 6.12. The string literals change happened in version 6.13. Signed-off-by: Michael L. Young <[email protected]> --- module/evdi_gem.c | 2 +- module/evdi_painter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/evdi_gem.c b/module/evdi_gem.c index ee1dbcf..8e27ca3 100644 --- a/module/evdi_gem.c +++ b/module/evdi_gem.c @@ -29,7 +29,7 @@ #include <linux/vmalloc.h> -#if KERNEL_VERSION(6, 13, 0) <= LINUX_VERSION_CODE || defined(EL10) +#if KERNEL_VERSION(6, 13, 0) <= LINUX_VERSION_CODE MODULE_IMPORT_NS("DMA_BUF"); #elif KERNEL_VERSION(5, 16, 0) <= LINUX_VERSION_CODE || defined(EL9) MODULE_IMPORT_NS(DMA_BUF); diff --git a/module/evdi_painter.c b/module/evdi_painter.c index 47e0acd..ced4f1c 100644 --- a/module/evdi_painter.c +++ b/module/evdi_painter.c @@ -36,7 +36,7 @@ #endif /* Import of DMA_BUF namespace was reverted in EL8 */ -#if KERNEL_VERSION(6, 13, 0) <= LINUX_VERSION_CODE || defined(EL10) +#if KERNEL_VERSION(6, 13, 0) <= LINUX_VERSION_CODE MODULE_IMPORT_NS("DMA_BUF"); #elif KERNEL_VERSION(5, 16, 0) <= LINUX_VERSION_CODE || defined(EL9) MODULE_IMPORT_NS(DMA_BUF); -- 2.51.0
