Bug 93138 - More verbose errors for dmabuf creation.
Summary: More verbose errors for dmabuf creation.
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: medium enhancement
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 13:34 UTC by Lubosz Sarnecki
Modified: 2016-10-31 23:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
More verbose errors for dmabuf creation. (1.52 KB, text/plain)
2015-11-27 13:34 UTC, Lubosz Sarnecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubosz Sarnecki 2015-11-27 13:34:46 UTC
Created attachment 120173 [details]
More verbose errors for dmabuf creation.

Using EXT_image_dma_buf_import on i965 can be confusing if you don't look in the code.
The driver always outputs EGL_BAD_MATCH for using multi planar formats. The practice here is to use multiple EGL images per plane and do the color conversion in GLSL.
The same error is given when the fourcc format is unsupported.
This patch gives the application programmer more information about what he is doing wrong, by putting out this information with _mesa_warning().
Comment 1 Matt Turner 2016-10-31 23:58:29 UTC
Thank you. Would you please send the patch to mesa-dev@lists.freedesktop.org for review?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.