asahi: Remove unused bo_access property

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11815>
This commit is contained in:
Alyssa Rosenzweig 2021-07-10 11:01:25 -04:00
parent aa36b4b202
commit ea7892a74c
2 changed files with 0 additions and 11 deletions

View File

@ -46,13 +46,6 @@ struct agx_ptr {
uint64_t gpu;
};
enum agx_bo_access {
AGX_BO_ACCESS_NONE = 0,
AGX_BO_ACCESS_R = 1,
AGX_BO_ACCESS_W = 2,
AGX_BO_ACCESS_RW = 3
};
struct agx_bo {
enum agx_alloc_type type;
@ -72,9 +65,6 @@ struct agx_bo {
* metal-gpu-submission-to-command-buffer-id */
uint64_t guid;
/* Outstanding access for bo_wait */
enum agx_bo_access access;
/* Human-readable label, or NULL if none */
char *name;

View File

@ -75,7 +75,6 @@ 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;
(*bo)->access = AGX_BO_ACCESS_RW;
}
}