asahi: drop dead pool stuff
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32434>
This commit is contained in:
committed by
Marge Bot
parent
fe92abf82b
commit
1ac82c8d24
@@ -51,15 +51,6 @@ agx_pool_cleanup(struct agx_pool *pool)
|
||||
util_dynarray_fini(&pool->bos);
|
||||
}
|
||||
|
||||
void
|
||||
agx_pool_get_bo_handles(struct agx_pool *pool, uint32_t *handles)
|
||||
{
|
||||
unsigned idx = 0;
|
||||
util_dynarray_foreach(&pool->bos, struct agx_bo *, bo) {
|
||||
handles[idx++] = (*bo)->handle;
|
||||
}
|
||||
}
|
||||
|
||||
struct agx_ptr
|
||||
agx_pool_alloc_aligned_with_bo(struct agx_pool *pool, size_t sz,
|
||||
unsigned alignment, struct agx_bo **out_bo)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include "asahi/genxml/agx_pack.h"
|
||||
#include "agx_bo.h"
|
||||
|
||||
#include "util/u_dynarray.h"
|
||||
@@ -39,17 +38,6 @@ void agx_pool_init(struct agx_pool *pool, struct agx_device *dev,
|
||||
|
||||
void agx_pool_cleanup(struct agx_pool *pool);
|
||||
|
||||
static inline unsigned
|
||||
agx_pool_num_bos(struct agx_pool *pool)
|
||||
{
|
||||
return util_dynarray_num_elements(&pool->bos, struct agx_bo *);
|
||||
}
|
||||
|
||||
void agx_pool_get_bo_handles(struct agx_pool *pool, uint32_t *handles);
|
||||
|
||||
/* Represents a fat pointer for GPU-mapped memory, returned from the transient
|
||||
* allocator and not used for much else */
|
||||
|
||||
struct agx_ptr agx_pool_alloc_aligned_with_bo(struct agx_pool *pool, size_t sz,
|
||||
unsigned alignment,
|
||||
struct agx_bo **bo);
|
||||
|
||||
Reference in New Issue
Block a user