Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwin/files/
Date: Tue, 06 Sep 2022 19:24:35
Message-Id: 1662492251.94d3952abf74b6be537d462e63ff4e06aba2a0d7.asturm@gentoo
1 commit: 94d3952abf74b6be537d462e63ff4e06aba2a0d7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 19:24:11 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 19:24:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d3952a
7
8 kde-plasma/kwin: Drop unused patch
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../files/kwin-5.25.4-drm-fix-blob-updating.patch | 38 ----------------------
13 1 file changed, 38 deletions(-)
14
15 diff --git a/kde-plasma/kwin/files/kwin-5.25.4-drm-fix-blob-updating.patch b/kde-plasma/kwin/files/kwin-5.25.4-drm-fix-blob-updating.patch
16 deleted file mode 100644
17 index 282913620c7b..000000000000
18 --- a/kde-plasma/kwin/files/kwin-5.25.4-drm-fix-blob-updating.patch
19 +++ /dev/null
20 @@ -1,38 +0,0 @@
21 -From 9a81567777f94e2e6c1a121f1d86dd2bdea83adf Mon Sep 17 00:00:00 2001
22 -From: Xaver Hugl <xaver.hugl@×××××.com>
23 -Date: Thu, 4 Aug 2022 15:36:26 +0200
24 -Subject: [PATCH] backends/drm: fix blob updating
25 -
26 -Two things about the code were wrong:
27 -1. m_current is used in updateBlob() but was only updated afterwards
28 -2. the assumption that the property having the same ID means it has the
29 -same blob contents is not always true
30 -
31 -BUG: 449285
32 -
33 -
34 -(cherry picked from commit 97939ceae864aef2f50e117496f548555877b4ea)
35 ----
36 - src/backends/drm/drm_property.cpp | 6 ++----
37 - 1 file changed, 2 insertions(+), 4 deletions(-)
38 -
39 -diff --git a/src/backends/drm/drm_property.cpp b/src/backends/drm/drm_property.cpp
40 -index c9f7718abd..cee80d043a 100644
41 ---- a/src/backends/drm/drm_property.cpp
42 -+++ b/src/backends/drm/drm_property.cpp
43 -@@ -112,10 +112,8 @@ bool DrmProperty::needsCommit() const
44 -
45 - void DrmProperty::setCurrent(uint64_t value)
46 - {
47 -- if (m_current != value) {
48 -- updateBlob();
49 -- m_current = value;
50 -- }
51 -+ m_current = value;
52 -+ updateBlob();
53 - }
54 -
55 - uint64_t DrmProperty::current() const
56 ---
57 -GitLab
58 -