[Mesa-dev] [PATCH] DRI Image v7 support for gallium drivers

Thomas Hellstrom thellstrom at vmware.com
Wed Nov 20 08:13:24 PST 2013


On 10/08/2013 12:48 AM, christopher.halse.rogers at canonical.com wrote:
> This is a prerequisite for the Mir EGL platform, which I'm sure everyone is
> excited about.
>
> It's also necessary for Wayland hybrid graphics support.
Sorry for replying this late, I just started looking at this patch series.

I saw an earlier discussion about how to tell whether a driver supports 
fd sharing, and that boiled down to the state tracker querying the 
winsys, or rather the bootstrapper directly for that support.

There actually is an API for this, the drm driver descriptor. Please 
have a look at state_tracker/drm_driver.h and how
DRM_CONF_THROTTLE is handled in the target code and in the dri state 
tracker.

It would be possible to add a DRM_CONF_SHARE_FD (or similar) enum to 
indicate support for this sharing type, if you want to expose support 
for DRI_IMAGE V7 on a per driver basis.

/Thomas



> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list