xref: /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/xorg-xserver/files/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"         "none"
15
16### Limit flip rate and drop frames for "FlipFB" to reduce performance lost
17#    Option      "MaxFlipRate"    "25"
18
19    Option      "NoEDID"         "true"
20EndSection
21
22Section	"Screen"
23    Identifier	"Default Screen"
24    Device	"Rockchip Graphics"
25    Monitor	"Default Monitor"
26EndSection
27
28### Valid values for rotation are "normal", "left", "right"
29Section	"Monitor"
30    Identifier	"Default Monitor"
31    Option	"Rotate" "normal"
32EndSection
33