From ca2011d11ccb7255dbf1781cde55f8e02f65f26f Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 6 Jan 2023 11:51:32 -0800 Subject: [PATCH] freedreno/drm: Remove assert We can hit this scenario if there is a GPU hang before the userspace fence writeback happens. Since we have asserts enabled in CI, just remove this assert. Signed-off-by: Rob Clark Part-of: --- src/freedreno/drm/freedreno_bo_heap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/freedreno/drm/freedreno_bo_heap.c b/src/freedreno/drm/freedreno_bo_heap.c index 8bff250cab6..455e333bff6 100644 --- a/src/freedreno/drm/freedreno_bo_heap.c +++ b/src/freedreno/drm/freedreno_bo_heap.c @@ -161,8 +161,6 @@ sa_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) /* expire completed fences */ fd_bo_state(bo); - assert(fd_bo_state(bo) == FD_BO_STATE_IDLE); - return 0; }