[ rockchi64 ] Add xorg.conf to Pinebook Pro

This commit is contained in:
tonymac32 2020-01-18 22:28:33 -05:00
parent fc23107e1c
commit 08f46f3241
2 changed files with 29 additions and 0 deletions

View File

@ -159,6 +159,11 @@ family_tweaks_bsp()
fi
if [[ $BOARD == pinebook-pro ]]; then
cp $SRC/packages/bsp/pinebook-pro/xorg.conf $destination/etc/X11/
fi
# Graphics and media
mkdir -p $destination/etc/udev/rules.d
cp $SRC/packages/bsp/rk3399/50-mali.rules $destination/etc/udev/rules.d/

View File

@ -0,0 +1,24 @@
Section "Device"
Identifier "Rockchip Graphics"
## Use armsoc driver
# Driver "armsoc"
## End armsoc configuration
## Use modesetting and glamor
Driver "modesetting"
Option "AccelMethod" "glamor" ### "glamor" to enable 3D acceleration, "none" to disable.
Option "DRI" "2"
Option "Dri2Vsync" "true"
Option "TripleBuffer" "True"
## End glamor configuration
EndSection
Section "Screen"
Identifier "Default Screen"
SubSectionSub "Display"
Depth 24
Modes "1920x1080" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection