tu: Remove outdated comment

This only really matters with virtgpu, and we long stopped using this
function for user-visible BOs, so it's only really applicable to a few
rare uses in the driver. Those would be better served by a new function
than modifying this one.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35443>
This commit is contained in:
Connor Abbott 2025-06-10 14:15:12 -04:00 committed by Marge Bot
parent 423f3fd485
commit d8a19711ed

View file

@ -151,8 +151,6 @@ tu_bo_init_new(struct tu_device *dev, struct vk_object_base *base,
struct tu_bo **out_bo, uint64_t size,
enum tu_bo_alloc_flags flags, const char *name)
{
// TODO don't mark everything with HOST_VISIBLE !!! Anything that
// never gets CPU access should not have this bit set
return tu_bo_init_new_explicit_iova(
dev, base, out_bo, size, 0,
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |