mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
venus: reduce ring idle timeout from 50ms to 5ms
The ring wake up is no longer costy as the other notifies followed by the initial call won't be blocked by ring cmd execution anymore (without vkr side big context lock). Reducing the timeout can help cpu bound scenarios. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179>
This commit is contained in:
parent
9c9e097585
commit
60e0af9661
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ vn_instance_init_ring(struct vn_instance *instance)
|
|||
.pNext = &monitor_info,
|
||||
.resourceId = instance->ring.shmem->res_id,
|
||||
.size = layout.shmem_size,
|
||||
.idleTimeout = 50ull * 1000 * 1000,
|
||||
.idleTimeout = 5ull * 1000 * 1000,
|
||||
.headOffset = layout.head_offset,
|
||||
.tailOffset = layout.tail_offset,
|
||||
.statusOffset = layout.status_offset,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue