mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
intel/compiler: Adjust fence message lengths for new register width on Xe2+
Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25020>
This commit is contained in:
parent
e1289d6135
commit
4de065f6a2
1 changed files with 2 additions and 2 deletions
|
|
@ -3274,9 +3274,9 @@ gfx12_set_memory_fence_message(struct brw_codegen *p,
|
|||
enum brw_message_target sfid,
|
||||
uint32_t desc)
|
||||
{
|
||||
const unsigned mlen = 1; /* g0 header */
|
||||
const unsigned mlen = 1 * reg_unit(p->devinfo); /* g0 header */
|
||||
/* Completion signaled by write to register. No data returned. */
|
||||
const unsigned rlen = 1;
|
||||
const unsigned rlen = 1 * reg_unit(p->devinfo);
|
||||
|
||||
brw_inst_set_sfid(p->devinfo, insn, sfid);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue