mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 19:20:12 +01:00
venus: Assume wsi_mem->base_bo != NULL
Now that the WSI code is signaling the correct BO, we don't need this
workaround in venus.
Fixes: a315a64291 ("venus: relax 2 assertions for prime blit path")
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34218>
This commit is contained in:
parent
cf23ffcbae
commit
e7bb6df7cb
1 changed files with 1 additions and 2 deletions
|
|
@ -986,8 +986,7 @@ vn_queue_wsi_present(struct vn_queue_submission *submit)
|
|||
struct vk_queue *queue_vk = vk_queue_from_handle(submit->queue_handle);
|
||||
struct vn_device *dev = vn_device_from_vk(queue_vk->base.device);
|
||||
|
||||
/* base_bo can be NULL for prime blit src */
|
||||
if (!submit->wsi_mem || !submit->wsi_mem->base_bo)
|
||||
if (!submit->wsi_mem)
|
||||
return;
|
||||
|
||||
if (dev->renderer->info.has_implicit_fencing) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue