Module: Mesa Branch: main Commit: 7cff4cc9c893f897feb0a3c072878f446682f5ba URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cff4cc9c893f897feb0a3c072878f446682f5ba
Author: Lionel Landwerlin <[email protected]> Date: Mon Oct 2 14:21:24 2023 +0300 intel/fs: Xe2 fix for ExBSO on UGM Signed-off-by: Lionel Landwerlin <[email protected]> BSpec: 56890 Reviewed-by: Kenneth Graunke <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25506> --- src/intel/compiler/brw_eu_emit.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_eu_emit.c b/src/intel/compiler/brw_eu_emit.c index 11f67415189..4208e1138e9 100644 --- a/src/intel/compiler/brw_eu_emit.c +++ b/src/intel/compiler/brw_eu_emit.c @@ -2860,7 +2860,13 @@ brw_send_indirect_split_message(struct brw_codegen *p, } if (ex_bso) { - brw_inst_set_send_ex_bso(devinfo, send, true); + /* The send instruction ExBSO field does not exist with UGM on Gfx20+, + * it is assumed. + * + * BSpec 56890 + */ + if (devinfo->ver < 20 || sfid != GFX12_SFID_UGM) + brw_inst_set_send_ex_bso(devinfo, send, true); brw_inst_set_send_src1_len(devinfo, send, GET_BITS(ex_desc_imm, 10, 6)); } brw_inst_set_sfid(devinfo, send, sfid);
