From c151fae054d12ef9b392f5b6dcc1bafe894005b0 Mon Sep 17 00:00:00 2001 From: Anton Kindestam Date: Sat, 2 Jun 2018 12:54:05 +0200 Subject: drm_atomic: Add general primary/overlay plane option Add general primary/overlay plane option to drm-osd-plane-id and drm-video-plane-id, so that the user can just request any usable primary or overlay plane for either of these two options. This should be somewhat more user-friendly (especially as neither of these two options currently have a useful help function), as usually you would only be interested in the type of the plane, and not exactly which plane gets picked. --- DOCS/man/vo.rst | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'DOCS/man/vo.rst') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index ccde336264..a3cc328b1d 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -488,19 +488,21 @@ Available video output drivers are: Mode ID to use (resolution and frame rate). (default: 0) - ``--drm-osd-plane-id=`` - Select the DRM plane index to use for OSD (or OSD and video). - Index is zero based, and related to crtc. - When using this option with the drm_prime renderer, it will only affect - the OSD contents. Otherwise it will set OSD & video plane. - (default: primary plane) - - ``--drm-video-plane-id=`` - Select the DRM plane index to use for video layer. - Index is zero based, and related to crtc. - This option only has effect when using the drm_prime renderer (which - supports several layers) together with ``vo=gpu`` and ``gpu-context=drm``. - (default: first overlay plane) + ``--drm-osd-plane-id=`` + Select the DRM plane to use for OSD (or OSD and video). The plane can be + specified as ``primary``, which will pick the first applicable primary + plane; ``overlay``, which will pick the first applicable overlay plane; + or by index. The index is zero based, and related to the CRTC. When using + this option with the drm_prime renderer, it will only affect the OSD + contents. Otherwise it will set OSD & video plane. + (default: primary) + + ``--drm-video-plane-id=`` + Select the DRM plane index to use for video layer. This option accepts + the same values as ``--drm-osd-plane-id``. This option has an effect + only when using the drm_prime renderer (which supports several layers) + together with ``vo=gpu`` and ``gpu-context=drm``. + (default: overlay) ``--drm-format=`` Select the DRM format to use (default: xrgb8888). This allows you to -- cgit v1.2.3