diff --git a/.pick_status.json b/.pick_status.json index 7e97565b19b..76feee1bce7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -954,7 +954,7 @@ "description": "freedreno/drm: Fix bo_flush race", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "7b02bc6139f1327def491680115d5f992f340764", "notes": null diff --git a/src/freedreno/drm/freedreno_bo.c b/src/freedreno/drm/freedreno_bo.c index 1f99f36bd2b..6eda8101e46 100644 --- a/src/freedreno/drm/freedreno_bo.c +++ b/src/freedreno/drm/freedreno_bo.c @@ -501,7 +501,7 @@ bo_flush(struct fd_bo *bo) simple_mtx_unlock(&fence_lock); for (unsigned i = 0; i < nr; i++) { - fd_fence_flush(bo->fences[i]); + fd_fence_flush(fences[i]); fd_fence_del(fences[i]); } }