asahi: Drop agx_device.memctx
authorAsahi Lina <lina@asahilina.net>
Wed, 15 Feb 2023 13:12:31 +0000 (22:12 +0900)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Feb 2023 22:16:51 +0000 (22:16 +0000)
No longer used.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21348>

src/asahi/lib/agx_device.c
src/asahi/lib/agx_device.h

index df0de98..17c8d7d 100644 (file)
@@ -119,7 +119,6 @@ agx_get_global_id(struct agx_device *dev)
 bool
 agx_open_device(void *memctx, struct agx_device *dev)
 {
-   dev->memctx = memctx;
    util_sparse_array_init(&dev->bo_map, sizeof(struct agx_bo), 512);
 
    simple_mtx_init(&dev->bo_cache.lock, mtx_plain);
index a8ad612..f02dca1 100644 (file)
@@ -62,7 +62,6 @@ struct agx_command_queue {
 #endif
 
 struct agx_device {
-   void *memctx;
    uint32_t debug;
 
    uint64_t next_global_id, last_global_id;