[PATCH] intel: make bufmgr_gem shareable from different API

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 11 05:29:16 PDT 2014


On Thu, Sep 11, 2014 at 01:21:13PM +0100, Lionel Landwerlin wrote:
> On 11/09/14 12:52, Chris Wilson wrote:
> >Just use an embedded list rather than array, that would greatly simplify
> >the search, cration and deletion.
> 
> I tried to use the embedded list, but from my understanding I need
> the embedded structure at the top of the bufmgr struct. Is that
> possible? Sounds like an ABI break.

The drmMMListHead allows embedding anywhere within the parent, and
drm_intel_bufmgr_gem is opaque so can be freely extended.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list