mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
turnip: Skip telling the kernel the BO list when we don't need any.
In fencing, we sometimes do a dummy submit with no nr_cmds. If we don't have commands to execute, we don't need to pin or fence any BOs either. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15038>
This commit is contained in:
parent
dc3203b087
commit
58f6331eec
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ tu_queue_submit_locked(struct tu_queue *queue, struct tu_queue_submit *submit)
|
|||
.flags = flags,
|
||||
.queueid = queue->msm_queue_id,
|
||||
.bos = (uint64_t)(uintptr_t) queue->device->bo_list,
|
||||
.nr_bos = queue->device->bo_count,
|
||||
.nr_bos = submit->entry_count ? queue->device->bo_count : 0,
|
||||
.cmds = (uint64_t)(uintptr_t)submit->cmds,
|
||||
.nr_cmds = submit->entry_count,
|
||||
.in_syncobjs = (uint64_t)(uintptr_t)submit->in_syncobjs,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue