blorp: implement Wa_16014912113 callback for drivers

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26920>
This commit is contained in:
Tapani Pälli
2024-01-23 14:31:32 +02:00
committed by Marge Bot
parent 1693d0b857
commit 5ae2b4882a
5 changed files with 40 additions and 0 deletions

View File

@@ -255,6 +255,18 @@ blorp_flush_range(struct blorp_batch *batch, void *start, size_t size)
*/
}
static void
blorp_pre_emit_urb_config(struct blorp_batch *blorp_batch,
struct intel_urb_config *urb_cfg)
{
struct anv_cmd_buffer *cmd_buffer = blorp_batch->driver_batch;
genX(urb_workaround)(cmd_buffer, urb_cfg);
/* Update urb config. */
memcpy(&cmd_buffer->state.gfx.urb_cfg, urb_cfg,
sizeof(struct intel_urb_config));
}
static const struct intel_l3_config *
blorp_get_l3_config(struct blorp_batch *batch)
{