drm_common: Add option to toggle use of atomic modesetting

It is useful when debugging to be able to force atomic off, or as a
workaround if atomic breaks for some user. Legacy modesetting is less
likely to break by virtue of being a less complex API.
This commit is contained in:
Anton Kindestam
2018-06-28 15:23:19 +02:00
committed by sfan5
parent 23a324215b
commit a776628d88
5 changed files with 29 additions and 11 deletions

View File

@@ -488,6 +488,16 @@ Available video output drivers are:
Mode ID to use (resolution and frame rate).
(default: 0)
``--drm-atomic=<no|auto>``
Toggle use of atomic modesetting. Mostly useful for debugging.
:no: Use legacy modesetting.
:auto: Use atomic modesetting, falling back to legacy modesetting if
not available. (default)
Note: Only affects ``gpu-context=drm``. ``vo=drm`` supports legacy
modesetting only.
``--drm-draw-plane=<primary|overlay|N>``
Select the DRM plane to which video and OSD is drawn to, under normal
circumstances. The plane can be specified as ``primary``, which will