[ rockchi64 ] Add xorg.conf to Pinebook Pro
This commit is contained in:
parent
fc23107e1c
commit
08f46f3241
@ -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/
|
||||
|
||||
24
packages/bsp/pinebook-pro/xorg.conf
Normal file
24
packages/bsp/pinebook-pro/xorg.conf
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user