From: Marek Olšák Date: Wed, 6 Sep 2017 01:21:29 +0000 (+0200) Subject: winsys/amdgpu: don't allow interprocess resource sharing for IBs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7213293fe27bf8270121e36457b7ad7dbaffd309;p=mesa.git winsys/amdgpu: don't allow interprocess resource sharing for IBs Now we should get IB submissions with bo_list == NULL when DRI buffers aren't referenced. Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c index f68071abc8f..83f0310afd6 100644 --- a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c +++ b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c @@ -575,7 +575,8 @@ static bool amdgpu_ib_new_buffer(struct amdgpu_winsys *ws, struct amdgpu_ib *ib) pb = ws->base.buffer_create(&ws->base, buffer_size, ws->info.gart_page_size, - RADEON_DOMAIN_GTT, 0); + RADEON_DOMAIN_GTT, + RADEON_FLAG_NO_INTERPROCESS_SHARING); if (!pb) return false;