mirror of https://gitlab.freedesktop.org/mesa/mesa
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:
parent
ff553d1ac8
commit
ed2d15d42f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue