mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
venus: avoid pre-allocating the feedback pool
Now that we don't create fence upon device creation, let's also defer the feedback pool grow to the first event or non-external fence creation. This makes venus device creation lighter and is good for CI. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17975>
This commit is contained in:
parent
81b44b4931
commit
88a5146d95
1 changed files with 1 additions and 2 deletions
|
|
@ -169,8 +169,7 @@ vn_feedback_pool_init(struct vn_device *dev,
|
|||
list_inithead(&pool->feedback_buffers);
|
||||
list_inithead(&pool->free_slots);
|
||||
|
||||
/* no lock needed upon init */
|
||||
return vn_feedback_pool_grow_locked(pool);
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue