xref: /OK3568_Linux_fs/debian/overlay/etc/X11/xorg.conf.d/20-modesetting.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Section "Device"
2    Identifier  "Rockchip Graphics"
3    Driver      "modesetting"
4
5### Use Rockchip RGA 2D HW accel
6#    Option      "AccelMethod"    "exa"
7
8### Use GPU HW accel
9    Option      "AccelMethod"    "glamor"
10
11    Option      "DRI"            "2"
12
13### Set to "always" to avoid tearing, could lead to up 50% performance loss
14    Option      "FlipFB"         "always"
15
16### Limit flip rate and drop frames for "FlipFB" to reduce performance lost
17#    Option      "MaxFlipRate"    "60"
18
19    Option      "NoEDID"         "true"
20    Option	"UseGammaLUT"	 "true"
21EndSection
22
23Section	"Screen"
24    Identifier	"Default Screen"
25    Device	"Rockchip Graphics"
26    Monitor	"Default Monitor"
27EndSection
28
29### Valid values for rotation are "normal", "left", "right"
30Section	"Monitor"
31    Identifier	"Default Monitor"
32    Option	"Rotate" "normal"
33EndSection
34