mesa/src
PixelyIon 5e8916c0bf tu: Make KGSL wait IOCTLs interrupt-safe
`tu_WaitForFences` and `tu_GetFenceStatus` ended up using `ioctl` instead of
`safe_ioctl` and as a result were responsible for handling `EAGAIN`/`EINTR`
but they weren't handled correctly in wait calls which led to dropping the
wait if the thread received a signal without automatic syscall restarting on
release builds and an assertion due to `errorno` being `EINTR` on debug
builds.

This fixes early wait returns which would lead to UB or cause crashes due to
hitting debug assertions in Skyline Emulator.

Signed-off-by: Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18031>
2022-08-16 10:06:32 +00:00
..
amd radv: advertise VK_KHR_global_priority 2022-08-16 09:13:42 +00:00
android_stub
asahi asahi: Identify depth clip mode bit 2022-08-14 19:59:19 +00:00
broadcom v3dv: vkCmdClearAttachments no longer generates its own RCL 2022-08-15 23:35:16 +00:00
c11 c11: Remove mtx_try from mtx enums as it's not a part of c11 standard 2022-08-15 14:40:52 +00:00
compiler nir/lower_gs_intrinsics: fix primitive count for points 2022-08-15 01:39:28 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl/wgl: Fix some awkward sizeof formatting 2022-08-10 21:00:43 +00:00
etnaviv util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
freedreno tu: Make KGSL wait IOCTLs interrupt-safe 2022-08-16 10:06:32 +00:00
gallium zink: use a maybe more accurate wild guess for pcp-less gpl 2022-08-15 14:58:37 +00:00
gbm gbm: Add USE_FRONT_RENDERING flag 2022-08-05 00:57:38 +00:00
getopt
glx glx: Remove usage of USE_ELF_TLS 2022-07-29 23:59:12 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: fix memleak in error paths 2022-08-12 10:08:38 +00:00
imgui
intel intel/compiler: Use named NIR intrinsic const index accessors 2022-08-16 05:44:30 +00:00
loader loader/dri3: remove a no-op free call 2022-08-12 13:11:03 +00:00
mapi glthread: track glBindFramebufferEXT, not just glBindFramebuffer 2022-08-12 06:06:48 +00:00
mesa mesa/st: simplify sampler border color swizzling 2022-08-12 14:24:52 +00:00
microsoft meson: remove source_root() call in nir compiler path 2022-08-12 13:11:03 +00:00
nouveau nir: Split usub_sat lowering flag from uadd_sat. 2022-07-22 17:54:28 +00:00
panfrost panfrost: Do no use designated initializer for union 2022-08-12 18:06:36 +00:00
tool meson/pps: Check if libdrm exists to compile pps 2022-06-22 11:52:36 +03:00
util util: Disable usage of __attribute__((__const__)) when the compiler is clang 2022-08-12 18:33:24 +00:00
virtio virgl: add support for hardware video acceleration 2022-08-11 10:21:03 +00:00
vulkan vulkan: add attachment sample count info AMD support 2022-08-16 08:40:42 +02:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00