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>
This commit is contained in:
Yonggang Luo
2023-06-02 17:48:20 +08:00
committed by Marge Bot
parent 6d013d1f13
commit 137aa8b2dc
71 changed files with 104 additions and 105 deletions

View File

@@ -120,7 +120,7 @@ d3d12_resource_wait_idle(struct d3d12_context *ctx,
} else {
d3d12_foreach_submitted_batch(ctx, batch) {
if (d3d12_batch_has_references(batch, res->bo, want_to_write))
d3d12_reset_batch(ctx, batch, PIPE_TIMEOUT_INFINITE);
d3d12_reset_batch(ctx, batch, OS_TIMEOUT_INFINITE);
}
}
}