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:
committed by
Marge Bot
parent
d549c1d045
commit
95e24abf1a
@@ -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. */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user