From d8a19711ed1345b53c622291d50cb0e864899fdf Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 10 Jun 2025 14:15:12 -0400 Subject: [PATCH] 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: --- src/freedreno/vulkan/tu_knl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/freedreno/vulkan/tu_knl.h b/src/freedreno/vulkan/tu_knl.h index b41f203b04b..f4c8cc1d2ee 100644 --- a/src/freedreno/vulkan/tu_knl.h +++ b/src/freedreno/vulkan/tu_knl.h @@ -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 |