soc-qcom-sdm660: install Adreno GPU quirks script (MR 4897)
Install script into /etc/profile.d with workaround for mesa bugs. This makes most SDM660 devices usable for general people out of the box. Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
This commit is contained in:
parent
22a9cdf7b2
commit
c97eafc5b8
2 changed files with 15 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Max Buchholz <max.buchholz@gmx.de>
|
# Maintainer: Max Buchholz <max.buchholz@gmx.de>
|
||||||
pkgname=soc-qcom-sdm660
|
pkgname=soc-qcom-sdm660
|
||||||
pkgdesc="Common package for Qualcomm SDM630/636/660 devices"
|
pkgdesc="Common package for Qualcomm SDM630/636/660 devices"
|
||||||
pkgver=2
|
pkgver=3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
|
@ -12,9 +12,12 @@ subpackages="
|
||||||
$pkgname-rproc
|
$pkgname-rproc
|
||||||
$pkgname-nonfree-firmware:nonfree_firmware
|
$pkgname-nonfree-firmware:nonfree_firmware
|
||||||
"
|
"
|
||||||
|
source="sdm660-adreno-quirks.sh"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p "$pkgdir"
|
mkdir -p "$pkgdir"
|
||||||
|
|
||||||
|
install -Dm755 sdm660-adreno-quirks.sh -t "$pkgdir/etc/profile.d/"
|
||||||
}
|
}
|
||||||
|
|
||||||
rproc() {
|
rproc() {
|
||||||
|
@ -42,3 +45,6 @@ nonfree_firmware() {
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
51aa3f86fe461ee520ca181142ac12563897eea711530b9ca8c092f539c303b449e129336375d356dfdcf28333618c03a43bcf346f956e74ff99bee8f0012f3a sdm660-adreno-quirks.sh
|
||||||
|
"
|
||||||
|
|
8
device/testing/soc-qcom-sdm660/sdm660-adreno-quirks.sh
Normal file
8
device/testing/soc-qcom-sdm660/sdm660-adreno-quirks.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Workaround for *some* bugs in mesa for lower-end
|
||||||
|
# Adreno 5xx GPUs (508/509/512).
|
||||||
|
# Remove this when this mesa bug is fixed:
|
||||||
|
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/8442
|
||||||
|
export FD_MESA_DEBUG=noblit
|
||||||
|
|
||||||
|
# A508 owners can try to uncomment this:
|
||||||
|
# export FD_MESA_DEBUG=noblit,inorder,gmem
|
Loading…
Reference in a new issue