soc-qcom-msm89x7: add initial soc package for msm89x7 devices (MR 5693)

This commit is contained in:
Barnabás Czémán 2024-12-29 23:02:21 +01:00 committed by Clayton Craft
parent b61da3a499
commit 5c91232144
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Maintainer: Barnabas Czeman <barnabas.czeman@postmarketos.org>
pkgname=soc-qcom-msm89x7
pkgdesc="Common package for Qualcomm MSM89x7 devices"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="swclock-offset"
subpackages="
$pkgname-gpu
"
source="
adreno-quirks.sh
"
package() {
mkdir -p $pkgdir
}
gpu() {
pkgdesc="Various GPU workarounds for Adreno 308 and 505"
install_if="$pkgname=$pkgver-r$pkgrel mesa-dri-gallium"
install -Dm644 "$srcdir"/adreno-quirks.sh \
"$subpkgdir"/etc/profile.d/adreno-quirks.sh
}
sha512sums="
d54065bd6e069dd49349fc53960de42fa43438c4519e90a44d89ab6fdf74978301b1d3865bb4d51130806bf8680ce34532ad97b2729e78208745a1aa4bbac904 adreno-quirks.sh
"

View file

@ -0,0 +1,6 @@
# Various GPU workarounds for Adreno 308 and 505
# The 'ngl' GTK renderer, which is now used by default, has worse
# performance and is somewhat more prone to crashes. Use the 'gl'
# renderer until these issues have been sorted out.
export GSK_RENDERER=gl