git » power-profiles-daemon.git » commit 403ff3a

power-profiles-daemon: Fix regression with AMDGPUs

author Peter Jung
2024-09-06 08:07:18 UTC
committer Peter Jung
2024-09-06 08:07:18 UTC
parent 8ea6863d197ffbdc8d8e599032dff9299fe95132

power-profiles-daemon: Fix regression with AMDGPUs

Signed-off-by: Peter Jung <admin@ptr1337.dev>

PKGBUILD +6 -0

diff --git a/PKGBUILD b/PKGBUILD
index d6788f3..412a3b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,12 @@ checkdepends=(python-dbusmock
 source=(git+https://gitlab.freedesktop.org/upower/$pkgname#tag=$pkgver)
 sha256sums=('1bc3965288d36554fcfa56d3de7dc1b16e09204205cf0af23bd47007a91530ec')
 
+prepare() {
+  cd $pkgname
+  # Fixes AMD GPU Regression
+  # https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/163
+  git cherry-pick -n 21b58819edcbbd87fc161474d1501debfd9b84b7
+}
 build() {
   meson $pkgname build \
     --prefix /usr \