asahi: track imports for decode

otherwise we fail with interesting dmabuf tracing

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29247>
This commit is contained in:
Alyssa Rosenzweig
2024-04-06 11:48:37 -04:00
parent ff553d1ac8
commit ed2d15d42f

View File

@@ -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: