pvr: make pvr_get_tile_buffer_size static

Signed-off-by: Ella Stanforth <ella@igalia.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38744>
This commit is contained in:
Ella Stanforth
2025-09-19 11:50:41 +01:00
committed by Marge Bot
parent d549c1d045
commit 95e24abf1a
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -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. */
-2
View File
@@ -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 */