From 78992d37bbe0c86b66c7e071344c2e6b1ce9f73c Mon Sep 17 00:00:00 2001 From: Vincent Knecht Date: Sun, 25 Sep 2022 09:05:57 +0200 Subject: [PATCH] soc-qcom-msm8939: new aport (MR 3463) Add msm8939 SoC package to be used in addition to soc-qcom-msm8916. For now it provides a shell script setting FD_MESA_DEBUG=nobin env var to work-around graphical corruption seen on adreno 405 devices. --- device/testing/soc-qcom-msm8939/APKBUILD | 26 ++++++++++++++++++++ device/testing/soc-qcom-msm8939/gpu-nobin.sh | 1 + 2 files changed, 27 insertions(+) create mode 100644 device/testing/soc-qcom-msm8939/APKBUILD create mode 100644 device/testing/soc-qcom-msm8939/gpu-nobin.sh diff --git a/device/testing/soc-qcom-msm8939/APKBUILD b/device/testing/soc-qcom-msm8939/APKBUILD new file mode 100644 index 000000000..a0683737a --- /dev/null +++ b/device/testing/soc-qcom-msm8939/APKBUILD @@ -0,0 +1,26 @@ +# Maintainer: Vincent Knecht + +pkgname=soc-qcom-msm8939 +pkgdesc="Common package for Qualcomm MSM8939 devices" +pkgver=1 +pkgrel=0 +url="https://postmarketos.org" +license="BSD-3-Clause" +arch="aarch64" +options="!check !archcheck" +depends="soc-qcom-msm8916" + +source=" + gpu-nobin.sh + " + +package() { + mkdir -p "$pkgdir" + + install -D -m644 "$srcdir"/gpu-nobin.sh \ + "$pkgdir"/etc/profile.d/gpu-nobin.sh +} + +sha512sums=" +4c6bb73ca630e8e08a72dfb7b92e2a3b4f526785601c8095bda3142c72638d89d60c9e110a2eeb4d6d3d97c9fde06c0bfd1dad18f9f5a346f697cc49b6507b21 gpu-nobin.sh +" diff --git a/device/testing/soc-qcom-msm8939/gpu-nobin.sh b/device/testing/soc-qcom-msm8939/gpu-nobin.sh new file mode 100644 index 000000000..b075522ee --- /dev/null +++ b/device/testing/soc-qcom-msm8939/gpu-nobin.sh @@ -0,0 +1 @@ +export FD_MESA_DEBUG=nobin