mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 22:28:06 +02:00
intel/perf: Use intel_perf_context as ralloc parent of sample buffers
Prefer the context instead of the config structure. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41591>
This commit is contained in:
parent
e6734ed39e
commit
f7fed3bdf8
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ get_free_sample_buf(struct intel_perf_context *perf_ctx)
|
|||
if (node)
|
||||
buf = brw_exec_node_data(struct oa_sample_buf, node, link);
|
||||
else {
|
||||
buf = ralloc_size(perf_ctx->perf, sizeof(*buf) + oa_sample_buf_buf_length(perf_ctx->perf));
|
||||
buf = ralloc_size(perf_ctx, sizeof(*buf) + oa_sample_buf_buf_length(perf_ctx->perf));
|
||||
|
||||
brw_exec_node_init(&buf->link);
|
||||
buf->refcount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue