anv: fix invalid utrace memcpy l3 config on gfx < 11

device->l3_config is only valid on Gfx11+

This only fixes using GPU_TRACE=1

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 02a4d622ed ("anv: expose a couple of emit helper to build utrace buffer copies")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16291>
This commit is contained in:
Lionel Landwerlin 2022-05-03 12:19:43 +03:00 committed by Marge Bot
parent 4a4adb65ce
commit 4efc997472

View file

@ -255,7 +255,7 @@ genX(emit_so_memcpy_init)(struct anv_memcpy_state *state,
ps.PipelineSelection = _3D;
}
emit_common_so_memcpy(batch, device, device->l3_config);
emit_common_so_memcpy(batch, device, cfg);
}
void