Merge ~vicamo/ubuntu/+source/evdi:bug-2138852/new-1.14.12-release/resolute-mp into ubuntu/+source/evdi:ubuntu/devel

Proposed by You-Sheng Yang
Status: Needs review
Proposed branch: ~vicamo/ubuntu/+source/evdi:bug-2138852/new-1.14.12-release/resolute-mp
Merge into: ubuntu/+source/evdi:ubuntu/devel
Prerequisite: ~vicamo/ubuntu/+source/evdi:bug-2138852/new-1.14.12-release/resolute-prerequisite
Diff against target: 159 lines (+14/-47)
3 files modified
debian/changelog (+14/-1)
debian/patches/series (+0/-3)
dev/null (+0/-43)
Reviewer Review Type Date Requested Status
Ubuntu Kernel DKMS Uploaders Pending
Review via email: mp+499101@code.launchpad.net

Commit message

* New upstream version 1.14.12 (LP: #2138852)
  - Drop upstreamed fix for FTBFS against kernel v6.18

To post a comment you must log in.
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Debdiff in https://bugs.launchpad.net/ubuntu/+source/evdi/+bug/2138852/comments/3.

While this is a new upstream v1.14.12 release, original tarball, along with prebuilt binaries, are uploaded to https://launchpad.net/~vicamo/+archive/ubuntu/sru-2138852 for easier review and verification.

Unmerged commits

13371ef... by You-Sheng Yang

debian: bump version

Signed-off-by: You-Sheng Yang <email address hidden>

961411d... by You-Sheng Yang

debian: refresh patches

Signed-off-by: You-Sheng Yang <email address hidden>

1fb2ff8... by You-Sheng Yang

New upstream version 1.14.12+dfsg

Signed-off-by: You-Sheng Yang <email address hidden>

8b2e6c1... by You-Sheng Yang

1.14.11+dfsg-1ubuntu1 (patches unapplied)

Imported using git-ubuntu import.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index f647c69..68588ac 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,8 +1,21 @@
6+evdi (1.14.12+dfsg-1ubuntu1) resolute; urgency=medium
7+
8+ * New upstream version 1.14.12 (LP: #2138852)
9+ - Drop upstreamed fix for FTBFS against kernel v6.18
10+
11+ -- You-Sheng Yang <vicamo@gmail.com> Thu, 22 Jan 2026 21:01:10 +0800
12+
13+evdi (1.14.12+dfsg-1) unstable; urgency=medium
14+
15+ * New upstream version 1.14.12+dfsg (Closes: #1119309, #1124928)
16+
17+ -- Harlan Lieberman-Berg <hlieberman@debian.org> Thu, 15 Jan 2026 08:17:53 -0500
18+
19 evdi (1.14.11+dfsg-1ubuntu1) resolute; urgency=medium
20
21 * New upstream version 1.14.11
22 - Drop upstreamed fix for FTBFS against kernel v6.17
23- * Fix build for kernel >= v6.18-rc1 (LP: #21130333)
24+ * Fix build for kernel >= v6.18-rc1 (LP: #2130333)
25
26 -- You-Sheng Yang <vicamo@gmail.com> Tue, 09 Dec 2025 16:57:17 +0800
27
28diff --git a/debian/patches/Support-Linux-v6.18-Lock-on-dev-struct_mutex-unnecessary-.patch b/debian/patches/Support-Linux-v6.18-Lock-on-dev-struct_mutex-unnecessary-.patch
29deleted file mode 100644
30index 0df5a53..0000000
31--- a/debian/patches/Support-Linux-v6.18-Lock-on-dev-struct_mutex-unnecessary-.patch
32+++ /dev/null
33@@ -1,33 +0,0 @@
34-From: =?utf-8?q?=C5=81ukasz_Spintzyk?= <lukasz.spintzyk@synaptics.com>
35-Date: Mon, 13 Oct 2025 23:59:29 +0000
36-Subject: [Support Linux v6.18] Lock on dev struct_mutex unnecessary as cursor
37- is only modified
38-
39-BugLink: https://bugs.launchpad.net/bugs/2130333
40-Origin: upstream, https://github.com/DisplayLink/evdi/commit/d00021b6a926b5ae14f45c95e908180422425b96.patch
41-Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
42----
43- module/evdi_modeset.c | 3 ---
44- 1 file changed, 3 deletions(-)
45-
46-diff --git a/module/evdi_modeset.c b/module/evdi_modeset.c
47-index 9636323..6674e4b 100644
48---- a/module/evdi_modeset.c
49-+++ b/module/evdi_modeset.c
50-@@ -341,8 +341,6 @@ static void evdi_cursor_atomic_update(struct drm_plane *plane,
51- int32_t cursor_position_x = 0;
52- int32_t cursor_position_y = 0;
53-
54-- mutex_lock(&plane->dev->struct_mutex);
55--
56- evdi_cursor_position(evdi->cursor, &cursor_position_x,
57- &cursor_position_y);
58- evdi_cursor_move(evdi->cursor, state->crtc_x, state->crtc_y);
59-@@ -367,7 +365,6 @@ static void evdi_cursor_atomic_update(struct drm_plane *plane,
60- cursor_changed = true;
61- }
62-
63-- mutex_unlock(&plane->dev->struct_mutex);
64- if (!evdi->cursor_events_enabled) {
65- if (fb != NULL) {
66- if (efb->obj->allow_sw_cursor_rect_updates) {
67diff --git a/debian/patches/Support-Linux-v6.18-No-need-to-lock-in-drm_gem_lookup-as-.patch b/debian/patches/Support-Linux-v6.18-No-need-to-lock-in-drm_gem_lookup-as-.patch
68deleted file mode 100644
69index 79beb8f..0000000
70--- a/debian/patches/Support-Linux-v6.18-No-need-to-lock-in-drm_gem_lookup-as-.patch
71+++ /dev/null
72@@ -1,30 +0,0 @@
73-From: =?utf-8?q?=C5=81ukasz_Spintzyk?= <lukasz.spintzyk@synaptics.com>
74-Date: Mon, 13 Oct 2025 14:37:34 -0700
75-Subject: [Support Linux v6.18] No need to lock in drm_gem_lookup as it is
76- already cares for locking
77-
78-BugLink: https://bugs.launchpad.net/bugs/2130333
79-Origin: upstream, https://github.com/DisplayLink/evdi/commit/149dbaea6ca49a20fa04636cf4a60ca5ee75b8a6.patch
80-Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
81----
82- module/evdi_modeset.c | 2 --
83- 1 file changed, 2 deletions(-)
84-
85-diff --git a/module/evdi_modeset.c b/module/evdi_modeset.c
86-index cadd791..9636323 100644
87---- a/module/evdi_modeset.c
88-+++ b/module/evdi_modeset.c
89-@@ -134,13 +134,11 @@ static int evdi_crtc_cursor_set(struct drm_crtc *crtc,
90-
91- EVDI_CHECKPT();
92- if (handle) {
93-- mutex_lock(&dev->struct_mutex);
94- obj = drm_gem_object_lookup(file, handle);
95- if (obj)
96- eobj = to_evdi_bo(obj);
97- else
98- EVDI_ERROR("Failed to lookup gem object.\n");
99-- mutex_unlock(&dev->struct_mutex);
100- }
101-
102- evdi_cursor_set(evdi->cursor,
103diff --git a/debian/patches/Support-Linux-v6.18-Remove-lock-on-device-struct_mutex.patch b/debian/patches/Support-Linux-v6.18-Remove-lock-on-device-struct_mutex.patch
104deleted file mode 100644
105index e6984f4..0000000
106--- a/debian/patches/Support-Linux-v6.18-Remove-lock-on-device-struct_mutex.patch
107+++ /dev/null
108@@ -1,43 +0,0 @@
109-From: =?utf-8?q?=C5=81ukasz_Spintzyk?= <lukasz.spintzyk@synaptics.com>
110-Date: Tue, 14 Oct 2025 00:10:24 +0000
111-Subject: [Support Linux v6.18] Remove lock on device->struct_mutex
112-
113-We unnecesarilly lock struct_mutex here
114-- We do not modify struct drm_device object here.
115-- evdi_pin_pages is already using own lock for pages
116-- drm_gem_create_mmap_offset is already using vma lock inside
117-- struct_mutex is removed since kernel 6.18
118-
119-BugLink: https://bugs.launchpad.net/bugs/2130333
120-Origin: upstream, https://github.com/DisplayLink/evdi/commit/cc97fab0e2cfc7fba980f645b4901280018586db.patch
121-Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
122----
123- module/evdi_gem.c | 6 +-----
124- 1 file changed, 1 insertion(+), 5 deletions(-)
125-
126-diff --git a/module/evdi_gem.c b/module/evdi_gem.c
127-index f594d1b..ee1dbcf 100644
128---- a/module/evdi_gem.c
129-+++ b/module/evdi_gem.c
130-@@ -402,11 +402,9 @@ int evdi_gem_mmap(struct drm_file *file,
131- struct drm_gem_object *obj;
132- int ret = 0;
133-
134-- mutex_lock(&dev->struct_mutex);
135- obj = drm_gem_object_lookup(file, handle);
136- if (obj == NULL) {
137-- ret = -ENOENT;
138-- goto unlock;
139-+ return -ENOENT;
140- }
141- gobj = to_evdi_bo(obj);
142-
143-@@ -429,8 +427,6 @@ int evdi_gem_mmap(struct drm_file *file,
144-
145- out:
146- drm_gem_object_put(&gobj->base);
147-- unlock:
148-- mutex_unlock(&dev->struct_mutex);
149- return ret;
150- }
151-
152diff --git a/debian/patches/series b/debian/patches/series
153index 1a9644c..e69de29 100644
154--- a/debian/patches/series
155+++ b/debian/patches/series
156@@ -1,3 +0,0 @@
157-Support-Linux-v6.18-No-need-to-lock-in-drm_gem_lookup-as-.patch
158-Support-Linux-v6.18-Lock-on-dev-struct_mutex-unnecessary-.patch
159-Support-Linux-v6.18-Remove-lock-on-device-struct_mutex.patch

Subscribers

People subscribed via source and target branches