r300g: restore performance after RADEON_FLAG_NO_INTERPROCESS_SHARING was added
authorRichard Thier <u9vata@gmail.com>
Sat, 8 Jun 2019 06:35:36 +0000 (08:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 12 Jun 2019 00:45:27 +0000 (20:45 -0400)
commitffd2f948fee271cbbce93708fc508dab7cb5d14c
tree0f375bb2c36f4d23b63510208ed9d1cda4be7e23
parentec0956a19460896838127e4f596dc28465c9a24a
r300g: restore performance after RADEON_FLAG_NO_INTERPROCESS_SHARING was added

v1: Fix skipped slab allocators and the buffer cache.

v2: Use only 1 domain for texture allocation

v3: Added flag for the create_fence call too

Based on Marek v1 and v2 proposed fixes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=1107812.patch

Cc: 19.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r300/r300_query.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_screen_buffer.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.c