diff --git a/src/asahi/lib/agx_bo.h b/src/asahi/lib/agx_bo.h index 9214c371650..f3b11295cf9 100644 --- a/src/asahi/lib/agx_bo.h +++ b/src/asahi/lib/agx_bo.h @@ -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; diff --git a/src/asahi/lib/pool.c b/src/asahi/lib/pool.c index 00ca9e78431..e1d8fa07209 100644 --- a/src/asahi/lib/pool.c +++ b/src/asahi/lib/pool.c @@ -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; } }