mesa/src
Kenneth Graunke e917bb7ad4 iris: Avoid holding the lock while allocating pages.
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 <chris@chris-wilson.co.uk>
2019-05-30 00:46:37 -07:00
..
amd spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
broadcom nir: Drop imov/fmov in favor of one mov instruction 2019-05-24 08:38:11 -05:00
compiler nir: silence three compiler warnings seen with MinGW 2019-05-29 13:59:24 -06:00
egl egl: Allow EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY in ES and GL 2019-05-17 15:13:15 -07:00
freedreno spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
gallium iris: Avoid holding the lock while allocating pages. 2019-05-30 00:46:37 -07:00
gbm gbm: gbm_bo_get_handle_for_plane fallback to nonplanar handle 2019-05-15 18:27:30 +01:00
getopt
glx Revert "glx: Fix synthetic error generation in __glXSendError" 2019-05-08 13:16:44 +10:00
gtest delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
hgl haiku: Fix hgl dispatch build. Tested under meson/scons. 2019-04-02 16:06:00 -05:00
imgui imgui: delete demo file 2019-05-21 14:40:22 +01:00
intel spirv: Change spirv_to_nir() to return a nir_shader 2019-05-29 10:34:35 -07:00
loader Delete autotools 2019-04-15 13:44:29 -07:00
mapi meson: make nm binary optional 2019-05-03 10:58:05 -07:00
mesa Change a few frequented uses of DEBUG to !NDEBUG 2019-05-29 21:13:35 -04:00
util Change a few frequented uses of DEBUG to !NDEBUG 2019-05-29 21:13:35 -04:00
vulkan vk/util: suppress warning about out-of-enum android value 2019-05-23 15:28:43 +00:00
meson.build turnip: Add driver skeleton (v2) 2019-03-11 10:01:15 -07:00
SConscript scons: Remove gles option. 2018-10-19 16:50:26 +01:00