DisplayServer (Linux): support --ds-force-drm sysfs-only

This commit is contained in:
李通洲
2023-12-11 13:25:58 +08:00
parent f20b6d4387
commit a28dc8a9bf
7 changed files with 81 additions and 13 deletions
+7 -2
View File
@@ -124,9 +124,14 @@
"desc": "Set if only DRM should be used to detect displays",
"remark": "Use this option if you encountered problems with other detection method. Linux only",
"arg": {
"type": "bool",
"type": "enum",
"optional": true,
"default": false
"default": "false",
"enum": {
"true": "Try `libdrm` first, then `sysfs` if libdrm failed",
"sysfs-only": "Use `/sys/class/drm` only",
"false": "Don't force using DRM"
}
}
}
],