zink: stop flagging has_work on batch tracking

this used to be a lazy workaround, but now it can actually mean something

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29108>
This commit is contained in:
Mike Blumenkrantz 2024-05-09 12:38:41 -04:00 committed by Marge Bot
parent 74f572b28f
commit 0a24b8f9a3
2 changed files with 0 additions and 3 deletions

View file

@ -1059,7 +1059,6 @@ zink_batch_reference_resource_move(struct zink_context *ctx, struct zink_resourc
*/
}
check_oom_flush(bs->ctx);
bs->has_work = true;
simple_mtx_unlock(&bs->ref_lock);
return false;
}

View file

@ -187,8 +187,6 @@ zink_batch_resource_usage_set(struct zink_batch_state *bs, struct zink_resource
}
}
zink_resource_usage_set(res, bs, write);
bs->has_work = true;
}
void