util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE
authorYonggang Luo <luoyonggang@gmail.com>
Fri, 2 Jun 2023 09:48:20 +0000 (17:48 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 5 Jun 2023 05:12:02 +0000 (05:12 +0000)
commit137aa8b2dcb1ee36779f64f65aad7b1ff9536b37
treeb8b3f2d62d1828fea7807abe5bc05eebac1e0f35
parent6d013d1f13a0040b65ef9a76234e80865d966b2a
util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE

They are exactly the same, so it's safe to do the replace
Also gen OS_TIMEOUT_INFINITE var with rusticl_mesa_bindings_rs by OS_ prefix and
include "util/os_time.h" in rusticl/rusticl_mesa_bindings.h

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23401>
71 files changed:
src/broadcom/vulkan/v3dv_bo.c
src/broadcom/vulkan/v3dv_cmd_buffer.c
src/broadcom/vulkan/v3dv_queue.c
src/egl/drivers/haiku/egl_haiku.cpp
src/freedreno/drm/msm/msm_bo.c
src/freedreno/drm/msm/msm_priv.h
src/freedreno/drm/virtio/virtio_pipe.c
src/gallium/auxiliary/util/u_helpers.c
src/gallium/drivers/d3d12/d3d12_batch.cpp
src/gallium/drivers/d3d12/d3d12_context.cpp
src/gallium/drivers/d3d12/d3d12_fence.h
src/gallium/drivers/d3d12/d3d12_query.cpp
src/gallium/drivers/d3d12/d3d12_resource.cpp
src/gallium/drivers/d3d12/d3d12_video_dec.cpp
src/gallium/drivers/d3d12/d3d12_video_enc.cpp
src/gallium/drivers/freedreno/freedreno_fence.c
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/lima/lima_job.c
src/gallium/drivers/lima/lima_resource.c
src/gallium/drivers/lima/lima_util.c
src/gallium/drivers/llvmpipe/lp_flush.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/r300/r300_query.c
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/r600/r600_query.c
src/gallium/drivers/radeonsi/si_fence.c
src/gallium/drivers/radeonsi/si_query.c
src/gallium/drivers/radeonsi/si_sqtt.c
src/gallium/drivers/softpipe/sp_flush.c
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_winsys.h
src/gallium/drivers/v3d/v3d_bufmgr.c
src/gallium/drivers/v3d/v3d_job.c
src/gallium/drivers/v3d/v3d_query_perfcnt.c
src/gallium/drivers/vc4/vc4_bufmgr.c
src/gallium/drivers/vc4/vc4_job.c
src/gallium/drivers/vc4/vc4_query.c
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_video.c
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_fence.c
src/gallium/drivers/zink/zink_query.c
src/gallium/frontends/clover/core/event.cpp
src/gallium/frontends/dri/dri2.c
src/gallium/frontends/dri/dri_drawable.c
src/gallium/frontends/dri/drisw.c
src/gallium/frontends/dri/kopper.c
src/gallium/frontends/glx/xlib/xm_api.c
src/gallium/frontends/lavapipe/lvp_execute.c
src/gallium/frontends/nine/buffer9.c
src/gallium/frontends/nine/swapchain9.c
src/gallium/frontends/rusticl/mesa/pipe/screen.rs
src/gallium/frontends/rusticl/meson.build
src/gallium/frontends/rusticl/rusticl_mesa_bindings.h
src/gallium/frontends/vdpau/presentation.c
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h
src/gallium/include/winsys/radeon_winsys.h
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer.cpp
src/gallium/winsys/d3d12/wgl/d3d12_wgl_framebuffer_xbox.cpp
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/svga/drm/vmw_fence.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
src/mesa/state_tracker/st_cb_flush.c
src/mesa/state_tracker/st_manager.c
src/util/os_time.h