soc-mediatek-mt8183: new aport (MR 3525)
This commit is contained in:
parent
1d88d8bcdd
commit
e384f479f2
3 changed files with 61 additions and 0 deletions
34
device/testing/soc-mediatek-mt8183/APKBUILD
Normal file
34
device/testing/soc-mediatek-mt8183/APKBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: BinaryCraft <keep.it.sns@gmail.com>
|
||||
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
|
||||
pkgname=soc-mediatek-mt8183
|
||||
pkgdesc="Common package for Mediatek MT8183 devices"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="BSD-3-Clause"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="soc-qcom-msm8916"
|
||||
subpackages="$pkgname-x11"
|
||||
source="
|
||||
xorg.conf.d/11-modesetting.conf
|
||||
xorg.conf.d/13-panfrost-swapped-dri-nodes.conf
|
||||
"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
x11() {
|
||||
install_if="$pkgname xorg-server"
|
||||
|
||||
install -Dm644 "$srcdir"/11-modesetting.conf \
|
||||
-t "$subpkgdir"/etc/X11/xorg.conf.d
|
||||
install -Dm644 "$srcdir"/13-panfrost-swapped-dri-nodes.conf \
|
||||
-t "$subpkgdir"/etc/X11/xorg.conf.d
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a0b1a1b2a08250d6069d283f574736ec9863c8fad882bc44ed3b61a026813d6ef39d0bd44b7fb57adb596e57f8366c905b468aef20d950fae732fef245e2e563 11-modesetting.conf
|
||||
67e94b4afa16450b74ea966eaf56b71ae7a7d2bf56e06e4e9c1b51fde588475c3500090a8e48238b144d3ee688497302f2a1275c4bb3488cf3d2ae1faf345139 13-panfrost-swapped-dri-nodes.conf
|
||||
"
|
|
@ -0,0 +1,4 @@
|
|||
Section "Device"
|
||||
Identifier "device"
|
||||
Driver "modesetting"
|
||||
EndSection
|
|
@ -0,0 +1,23 @@
|
|||
Section "ServerFlags"
|
||||
Option "AutoAddGPU" "off"
|
||||
Option "Debug" "dmabuf_capable"
|
||||
EndSection
|
||||
|
||||
Section "OutputClass"
|
||||
Identifier "panfrost"
|
||||
MatchDriver "mediatek"
|
||||
Driver "modesetting"
|
||||
Option "PrimaryGPU" "true"
|
||||
EndSection
|
||||
|
||||
Section "OutputClass"
|
||||
Identifier "kmsdev"
|
||||
MatchDriver "modesetting"
|
||||
Option "kmsdev" "/dev/dri/card1"
|
||||
EndSection
|
||||
|
||||
Section "OutputClass"
|
||||
Identifier "accel"
|
||||
MatchDriver "modesetting"
|
||||
Option "AccelMethod" "glamor"
|
||||
EndSection
|
Loading…
Reference in a new issue