[Mesa-dev] [PATCH 04/53] i965: Import libdrm_intel.

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 5 09:25:26 UTC 2017


On Tue, Apr 04, 2017 at 05:09:54PM -0700, Kenneth Graunke wrote:
> This imports commit 19c4cfc54918d361f2535aec16650e9f0be667cd of
> libdrm/intel/*.[ch], minus a few files that we're never going to use
> (and would immediately delete), plus a few necessary dependencies.
> 
> We rename intel_bufmgr.h to brw_bufmgr.h to avoid #include conflicts.
> We also fix UTF-8 symbol problems in intel_bufmgr_gem.c comments
> because vim keeps trying to fix that every time I edit the file,
> and we may as well fix it right away.

Acked-by: Chris Wilson <chris at chris-wilson.co.uk>

I was dreaming of ways of doing a batch manager in libdrm, the lack of
available data structures is a nightmare. (Might be nice if mesa also
grew a rbtree/avltree, as handling per-context will likely end up in a
list that wants to be searched rather than walked and a hashtable will
be less (space) efficient.)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list