Pierre-Eric Pelloux-Prayer
|
553d371933
|
util/idalloc: add lowest_free_idx to avoid iterating from 0
lowest_free_idx is a conservative estimation of the lowest index
where a free id can be found.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6600>
|
2020-09-10 09:07:11 +02:00 |
Pierre-Eric Pelloux-Prayer
|
e808d38299
|
util/idalloc: add util_idalloc_reserve
Can be used to mark an id as used (if it was reclaimed without using
util_idalloc_alloc).
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6600>
|
2020-09-10 09:07:11 +02:00 |
Pierre-Eric Pelloux-Prayer
|
87ef970ee6
|
mesa: move u_idalloc from gallium/aux/util to util
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6600>
|
2020-09-10 09:07:03 +02:00 |