radeonsi: rename si_create_multi_fence -> si_alloc_fence
We no longer have any multi fences (gfx+sdma fence). Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19131>
This commit is contained in:
@@ -213,7 +213,7 @@ static void si_fence_reference(struct pipe_screen *screen, struct pipe_fence_han
|
||||
*sdst = ssrc;
|
||||
}
|
||||
|
||||
static struct si_fence *si_create_multi_fence()
|
||||
static struct si_fence *si_alloc_fence()
|
||||
{
|
||||
struct si_fence *fence = CALLOC_STRUCT(si_fence);
|
||||
if (!fence)
|
||||
@@ -228,7 +228,7 @@ static struct si_fence *si_create_multi_fence()
|
||||
struct pipe_fence_handle *si_create_fence(struct pipe_context *ctx,
|
||||
struct tc_unflushed_batch_token *tc_token)
|
||||
{
|
||||
struct si_fence *fence = si_create_multi_fence();
|
||||
struct si_fence *fence = si_alloc_fence();
|
||||
if (!fence)
|
||||
return NULL;
|
||||
|
||||
@@ -387,7 +387,7 @@ static void si_create_fence_fd(struct pipe_context *ctx, struct pipe_fence_handl
|
||||
|
||||
*pfence = NULL;
|
||||
|
||||
sfence = si_create_multi_fence();
|
||||
sfence = si_alloc_fence();
|
||||
if (!sfence)
|
||||
return;
|
||||
|
||||
@@ -511,7 +511,7 @@ static void si_flush_all_queues(struct pipe_context *ctx,
|
||||
new_fence = (struct si_fence *)*fence;
|
||||
assert(new_fence);
|
||||
} else {
|
||||
new_fence = si_create_multi_fence();
|
||||
new_fence = si_alloc_fence();
|
||||
if (!new_fence) {
|
||||
ws->fence_reference(&gfx_fence, NULL);
|
||||
goto finish;
|
||||
|
||||
Reference in New Issue
Block a user