[Mesa-dev] [PATCH] RFC: Workaround for pthread_setaffinity_np() seccomp filtering

2019-02-27 Thread marcandre . lureau
From: Marc-André Lureau Since commit d877451b48a59ab0f9a4210fc736f51da5851c9a ("util/u_queue: add UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITY"), mesa calls sched_setaffinity syscall. Unfortunately, qemu crashes with SIGSYS when sandboxing is enabled (by default with libvirt), as this syscall is filt

[Mesa-dev] [PATCH] tgsi-dump: dump label if instruction has one

2017-02-09 Thread marcandre . lureau
From: Marc-André Lureau The instruction has an associated label when Instruction.Label == 1, as can be seen in ureg_emit_label() or tgsi_build_full_instruction(). This fixes dump generating extra :0 labels on conditionals, and virgl parsing more than the expected tokens and eventually reaching "

[Mesa-dev] [PATCH] virgl/vtest: disconnect on destroy

2017-02-09 Thread marcandre . lureau
From: Marc-André Lureau Since vtest is currently only handling a context at a time, calling disconnect in virgl_vtest_winsys_destroy() allows to pass tests such as piglit egl-create-context-invalid-flag-gles. Signed-off-by: Marc-André Lureau --- src/gallium/winsys/virgl/vtest/virgl_vtest_socke

[Mesa-dev] [PATCH] tgsi: remove ureg_label_insn

2017-02-09 Thread marcandre . lureau
From: Marc-André Lureau Unused since commit 2897cb3dba9287011f9c43cd2f214100952370c0. Signed-off-by: Marc-André Lureau --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 31 --- src/gallium/auxiliary/tgsi/tgsi_ureg.h | 7 --- 2 files changed, 38 deletions(-) diff --

[Mesa-dev] [PATCH] virgl: fix flushing while removing sampler views

2016-09-13 Thread marcandre . lureau
From: Marc-André Lureau When updating the sampler views, virgl might need to flush. After flushing, the resources are reattached, however, the sampler enabled_mask isn't yet updated, and some views could be in the process of being removed, which lead to the following crash: Thread 1 "heaven_x64