Skip to content

Commit be0bd46

Browse files
retro98boyigorpecovnik
authored andcommitted
meson64: a311d: Fix Xorg display when etnaviv enabled
1 parent ffcce9e commit be0bd46

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

config/sources/families/include/meson64_common.inc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ family_tweaks_bsp() {
241241
EndSection
242242
EOF
243243
;;
244-
"jethubj200" | "odroidn2" | "odroidc4" | "khadas-vim2" | "odroidhc4" | "khadas-vim3" | "khadas-vim3l" | "radxa-zero" | "radxa-zero2" | "bananapi-m2s")
244+
"jethubj200" | "odroidn2" | "odroidc4" | "khadas-vim2" | "odroidhc4" | "khadas-vim3" | "khadas-vim3l" | \
245+
"radxa-zero" | "radxa-zero2" | "bananapi-m2s" | "cainiao-cniot-core")
245246
cat <<- EOF > "$destination"/etc/X11/xorg.conf
246247
Section "Device"
247248
Identifier "DRM Graphics Acclerated"
@@ -256,6 +257,13 @@ family_tweaks_bsp() {
256257

257258
EndSection
258259

260+
Section "OutputClass"
261+
Identifier "Amlogic"
262+
MatchDriver "meson"
263+
Driver "modesetting"
264+
Option "PrimaryGPU" "true"
265+
EndSection
266+
259267
Section "Screen"
260268
Identifier "Default Screen"
261269
SubSection "Display"

0 commit comments

Comments
 (0)