From 95e24abf1ab041a72dee18cd5edda48b0c616977 Mon Sep 17 00:00:00 2001 From: Ella Stanforth Date: Fri, 19 Sep 2025 11:50:41 +0100 Subject: [PATCH] pvr: make pvr_get_tile_buffer_size static Signed-off-by: Ella Stanforth Acked-by: Erik Faye-Lund Part-of: --- src/imagination/vulkan/pvr_hw_pass.c | 3 ++- src/imagination/vulkan/pvr_hw_pass.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/imagination/vulkan/pvr_hw_pass.c b/src/imagination/vulkan/pvr_hw_pass.c index 704cd71323c..c9654ac6442 100644 --- a/src/imagination/vulkan/pvr_hw_pass.c +++ b/src/imagination/vulkan/pvr_hw_pass.c @@ -343,7 +343,8 @@ pvr_get_tile_buffer_size_per_core(const struct pvr_device *device) /** * Gets the amount of memory to allocate for a tile buffer on the current BVNC. */ -uint32_t pvr_get_tile_buffer_size(const struct pvr_device *device) +static uint32_t +pvr_get_tile_buffer_size(const struct pvr_device *device) { /* On a multicore system duplicate the buffer for each core. */ /* TODO: Optimise tile buffer size to use core_count, not max_num_cores. */ diff --git a/src/imagination/vulkan/pvr_hw_pass.h b/src/imagination/vulkan/pvr_hw_pass.h index 7681abf7316..8a46903b179 100644 --- a/src/imagination/vulkan/pvr_hw_pass.h +++ b/src/imagination/vulkan/pvr_hw_pass.h @@ -235,6 +235,4 @@ VkResult pvr_create_renderpass_hwsetup( void pvr_destroy_renderpass_hwsetup(const VkAllocationCallbacks *alloc, struct pvr_renderpass_hwsetup *hw_setup); -uint32_t pvr_get_tile_buffer_size(const struct pvr_device *device); - #endif /* PVR_HW_PASS_H */