summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index c77866f4..7ac81cba 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -618,7 +618,7 @@ static inline bool kgem_bo_is_busy(struct kgem_bo *bo)
return bo->rq;
}
-void __kgem_retire_requests_upto(struct kgem *kgem, struct kgem_request *rq);
+void __kgem_retire_requests_upto(struct kgem *kgem, struct kgem_bo *bo);
static inline bool __kgem_bo_is_busy(struct kgem *kgem, struct kgem_bo *bo)
{
DBG(("%s: handle=%d, domain: %d exec? %d, rq? %d\n", __FUNCTION__,
@@ -629,7 +629,7 @@ static inline bool __kgem_bo_is_busy(struct kgem *kgem, struct kgem_bo *bo)
return true;
if (bo->rq && !__kgem_busy(kgem, bo->handle)) {
- __kgem_retire_requests_upto(kgem, bo->rq);
+ __kgem_retire_requests_upto(kgem, bo);
assert(list_is_empty(&bo->request));
assert(bo->rq == NULL);
assert(bo->domain == DOMAIN_NONE);