xorg-xserver: configure X11 for usage on visionfive2

This commit is contained in:
Andreas Cord-Landwehr
2023-01-14 08:35:37 +01:00
committed by Khem Raj
parent 151ad83188
commit 49b8d8f36c
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
Section "Device"
Identifier "Video Device"
Driver "modesetting"
# Option "Atomic" "true"
Option "NoCursor" "true"
EndSection
Section "OutputClass"
Identifier "starfive display"
MatchDriver "starfive"
Option "PrimaryGPU" "true"
EndSection
Section "Monitor"
Identifier "Monitor"
# Option "DPMS" "false"
EndSection
Section "Screen"
Identifier "Screen"
Monitor "Monitor"
Device "Video Device"
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen"
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "Server Layout"
# Enable support for DRM format modifiers
# Option "Debug" "dmabuf_capable"
# Disable screen blanking. Disable DPMS in the Monitor section as well.
# Option "BlankTime" "35790"
# Option "StandbyTime" "35790"
# Option "SuspendTime" "35790"
# Option "OffTime" "35790"
EndSection

View File

@@ -0,0 +1,2 @@
# provide visionfive2 specific X11 config
FILESEXTRAPATHS:prepend:visionfive2 := "${THISDIR}/${PN}:"

View File

@@ -0,0 +1,5 @@
RDEPENDS:${PN}:append:visionfive2 = " \
xf86-video-modesetting \
${PN}-extension-glx \
xserver-xf86-config \
"