[Bug 795023] New: kmssink: add drm-fd property
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 6 02:27:14 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795023
Bug ID: 795023
Summary: kmssink: add drm-fd property
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: matteo.valdina at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 370572
--> https://bugzilla.gnome.org/attachment.cgi?id=370572&action=edit
patch for drm-fd property
When I try to use two different pipelines (two different src, two different
kmssink, and two different displays) but one single DRM device (in my case an
i915) it fails because the device was in use by the first pipeline (single
process).
I added the ability to get/set the DRM device FD in kmssink. This solved my
scenario.
I think that passing or get the FD could be handy in other scenarios where you
want to open the device earlier or you need to do something on the DRM device.
I tested this patch on 1.14 branch and a simple application that start two
pipelines in the same process for each output display.
When the first pipeline is in the running state I get the DRM FD and set DRM FD
on the second pipeline.
Best
Matteo Valdina
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list