nouveau/drm: drop unsued chan argument from nouveau_pushbuf_kick

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27853>
This commit is contained in:
Karol Herbst
2024-02-27 21:51:07 +01:00
committed by Marge Bot
parent 2101c9f2ac
commit 9583fb8d00
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ nouveau_fence_kick(struct nouveau_fence *fence)
}
if (fence->state < NOUVEAU_FENCE_STATE_FLUSHED) {
if (nouveau_pushbuf_kick(context->pushbuf, context->pushbuf->channel))
if (nouveau_pushbuf_kick(context->pushbuf))
return false;
}
+1 -1
View File
@@ -94,7 +94,7 @@ PUSH_KICK(struct nouveau_pushbuf *push)
{
struct nouveau_pushbuf_priv *ppush = push->user_priv;
simple_mtx_lock(&ppush->screen->fence.lock);
nouveau_pushbuf_kick(push, push->channel);
nouveau_pushbuf_kick(push);
simple_mtx_unlock(&ppush->screen->fence.lock);
}
+2 -2
View File
@@ -901,7 +901,7 @@ nouveau_bo_wait(struct nouveau_bo *bo, uint32_t access, struct nouveau_client *c
push = cli_push_get(client, bo);
if (push)
nouveau_pushbuf_kick(push, push->channel);
nouveau_pushbuf_kick(push);
if (!nvbo->head.next && !(nvbo->access & NOUVEAU_BO_WR) && !(access & NOUVEAU_BO_WR))
return 0;
@@ -1650,7 +1650,7 @@ nouveau_pushbuf_data(struct nouveau_pushbuf *push, struct nouveau_bo *bo, uint64
}
int
nouveau_pushbuf_kick(struct nouveau_pushbuf *push, struct nouveau_object *chan)
nouveau_pushbuf_kick(struct nouveau_pushbuf *push)
{
pushbuf_flush(push);
return pushbuf_validate(push, false);
+1 -1
View File
@@ -193,7 +193,7 @@ struct nouveau_bufctx *
nouveau_pushbuf_bufctx(struct nouveau_pushbuf *, struct nouveau_bufctx *);
void nouveau_pushbuf_data(struct nouveau_pushbuf *, struct nouveau_bo *, uint64_t offset,
uint64_t length);
int nouveau_pushbuf_kick(struct nouveau_pushbuf *, struct nouveau_object *chan);
int nouveau_pushbuf_kick(struct nouveau_pushbuf *);
int nouveau_pushbuf_refn(struct nouveau_pushbuf *, struct nouveau_pushbuf_refn *, int nr);
void nouveau_pushbuf_reloc(struct nouveau_pushbuf *, struct nouveau_bo *, uint32_t data,
uint32_t flags, uint32_t vor, uint32_t tor);