diff --git a/src/asahi/lib/agx_device.c b/src/asahi/lib/agx_device.c index 7caedd5d6c5..efacc89a18c 100644 --- a/src/asahi/lib/agx_device.c +++ b/src/asahi/lib/agx_device.c @@ -264,6 +264,9 @@ agx_bo_import(struct agx_device *dev, int fd) } pthread_mutex_unlock(&dev->bo_map_lock); + if (dev->debug & AGX_DBG_TRACE) + agxdecode_track_alloc(dev->agxdecode, bo); + return bo; error: