From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 96474158094 for ; Tue, 6 Sep 2022 19:24:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF44AE08F1; Tue, 6 Sep 2022 19:24:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A16D9E08F1 for ; Tue, 6 Sep 2022 19:24:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF9C6340D5A for ; Tue, 6 Sep 2022 19:24:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A7801E for ; Tue, 6 Sep 2022 19:24:32 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1662492251.94d3952abf74b6be537d462e63ff4e06aba2a0d7.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kwin/files/kwin-5.25.4-drm-fix-blob-updating.patch X-VCS-Directories: kde-plasma/kwin/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 94d3952abf74b6be537d462e63ff4e06aba2a0d7 X-VCS-Branch: master Date: Tue, 6 Sep 2022 19:24:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7764c63c-80da-4de2-a34e-c5632ed5e374 X-Archives-Hash: 7ecd3300f5e450b32c2920d913e0417a commit: 94d3952abf74b6be537d462e63ff4e06aba2a0d7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 6 19:24:11 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 6 19:24:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d3952a kde-plasma/kwin: Drop unused patch Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/kwin-5.25.4-drm-fix-blob-updating.patch | 38 ---------------------- 1 file changed, 38 deletions(-) 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 deleted file mode 100644 index 282913620c7b..000000000000 --- a/kde-plasma/kwin/files/kwin-5.25.4-drm-fix-blob-updating.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 9a81567777f94e2e6c1a121f1d86dd2bdea83adf Mon Sep 17 00:00:00 2001 -From: Xaver Hugl -Date: Thu, 4 Aug 2022 15:36:26 +0200 -Subject: [PATCH] backends/drm: fix blob updating - -Two things about the code were wrong: -1. m_current is used in updateBlob() but was only updated afterwards -2. the assumption that the property having the same ID means it has the -same blob contents is not always true - -BUG: 449285 - - -(cherry picked from commit 97939ceae864aef2f50e117496f548555877b4ea) ---- - src/backends/drm/drm_property.cpp | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/backends/drm/drm_property.cpp b/src/backends/drm/drm_property.cpp -index c9f7718abd..cee80d043a 100644 ---- a/src/backends/drm/drm_property.cpp -+++ b/src/backends/drm/drm_property.cpp -@@ -112,10 +112,8 @@ bool DrmProperty::needsCommit() const - - void DrmProperty::setCurrent(uint64_t value) - { -- if (m_current != value) { -- updateBlob(); -- m_current = value; -- } -+ m_current = value; -+ updateBlob(); - } - - uint64_t DrmProperty::current() const --- -GitLab -