Ken's Mesa development branches

Forked from Mesa / mesa

  • Kenneth Graunke's avatar
    iris: Avoid holding the lock while allocating pages. · e917bb7a
    Kenneth Graunke authored
    We only need the lock for:
    1. Rummaging through the cache
    2. Allocating VMA
    
    We don't need it for alloc_fresh_bo(), which does GEM_CREATE, and also
    SET_DOMAIN to allocate the underlying pages.  The idea behind calling
    SET_DOMAIN was to avoid a lock in the kernel while allocating pages,
    now we avoid our own global lock as well.
    
    We do have to re-lock around VMA.  Hopefully this shouldn't happen too
    much in practice because we'll find a cached BO in the right memzone
    and not have to reallocate it.
    Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
    e917bb7a
Name
Last commit
Last update
.gitlab-ci Loading commit data...
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
common.py Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...