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:
Faith Ekstrand 2025-03-26 14:32:04 -05:00 committed by Marge Bot
parent cf23ffcbae
commit e7bb6df7cb

View file

@ -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) {