diff --git a/.pick_status.json b/.pick_status.json index 3ae458f81b0..62417940e14 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3544,7 +3544,7 @@ "description": "mesa: don't wraparound st_context::work_counter", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "b3133e250e1c40496d98c4ba52386b7ae423d194", "notes": null diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 9934c4e7aca..c9d57a35c2a 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -545,7 +545,6 @@ st_context_add_work(struct st_context *st) * performance. */ if (unlikely(++st->work_counter % 512 == 0)) { - st->work_counter = 0; if (!st->thread_scheduler_disabled) st_context_apply_scheduler_policy(st); }