From ed94f8dc00dd75bf5d88bdf73b9d69a579c0f8ef Mon Sep 17 00:00:00 2001 From: LongChair Date: Sun, 29 Apr 2018 17:46:23 +0200 Subject: drm/atomic: refactor planes names We are currently using primary / overlay planes drm objects, assuming that primary plane is osd and overlay plane is video. This commit is doing two things : - replace the primary / overlay planes members with osd and video planes member without the assumption - Add two more options to determine which one of the primary / overlay is associated to osd / video. - It will default osd to overlay and video to primary if unspecified --- DOCS/man/vo.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 96ab1f7cf9..3fb2567b7d 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -488,6 +488,20 @@ Available video output drivers are: Mode ID to use (resolution and frame rate). (default: 0) + ``--drm-osd-plane-id=`` + Select the DRM planed index to use for OSD (or OSD and video). + Index is zero based, and related to crtc. + When using this option with 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 planed 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-format=`` Select the DRM format to use (default: xrgb8888). This allows you to choose the bit depth of the DRM mode. xrgb8888 is your usual 24 bit per -- cgit v1.2.3