[Mesa-dev] [PATCH 6/8] panfrost: Free context BOs
Alyssa Rosenzweig
alyssa at rosenzweig.io
Mon Mar 4 19:38:25 UTC 2019
> unsigned transient_count = ctx->transient_pools[ctx->cmdstream_i].entry_index*ctx->transient_pools[0].entry_size + ctx->transient_pools[ctx->cmdstream_i].entry_offset;
> - printf("Uploaded transient %d bytes\n", transient_count);
> + //printf("Uploaded transient %d bytes\n", transient_count);
This will raised an unused variable warning for transient_count, better
comment both or neither.
Other than that, Reviewed-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
I wonder if this will fix some of the memory leaks on non-DRM as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190304/6f173174/attachment.sig>
More information about the mesa-dev
mailing list