After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768703 - kmssink: Add tile format support
kmssink: Add tile format support
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-11 23:28 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-11-03 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
WIP: kmssink: Add support for tiled formats (7.32 KB, patch)
2016-07-11 23:28 UTC, Nicolas Dufresne (ndufresne)
none Details | Review

Description Nicolas Dufresne (ndufresne) 2016-07-11 23:28:06 UTC
This is a bit tricky. Tiled format in DRM are set with two values. The first is the format family (like NV12), and then you add a modifier that specify the transformation. The main issue right now is that I don't see anything in DRM to probe the availability of each modifiers for each formats.
Comment 1 Nicolas Dufresne (ndufresne) 2016-07-11 23:28:36 UTC
Created attachment 331284 [details] [review]
WIP: kmssink: Add support for tiled formats

This is a work-in-progress, to be useful, we need a way to probe if the
tile modifier is supported or not by the HW. We could possibly do a
trial and error.
Comment 2 Víctor Manuel Jáquez Leal 2016-11-25 08:08:59 UTC
I just found that intel kms driver (using a minnowboard) also requires tiled dmabuf buffers to import them. So, we required this new version of addfb with modifiers.
Comment 3 Nicolas Dufresne (ndufresne) 2016-11-25 13:25:53 UTC
Ok, I can split this patch (I should have anyway).
Comment 4 Nicolas Dufresne (ndufresne) 2017-03-29 15:06:30 UTC
Ok, DRM kernel interface now implements DRM_IOCTL_MODE_GETPLANE2 which list the supported modifiers. In libdrm  2.4.74+ there is drmModeGetPlane2 wrapper. That's should unblock this work.

https://patchwork.kernel.org/patch/9482395/
Comment 5 GStreamer system administrator 2018-11-03 13:53:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/409.