brw: Fix outdated comments about urb->offset units

I recently converted urb->offset to be in bytes on Xe2, but neglected to
update these comments that still said OWord.

Fixes: 9ffae42975 ("brw: Store brw_urb_inst::offset in bytes on Xe2")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38899>
This commit is contained in:
Kenneth Graunke 2025-12-09 03:30:34 -08:00 committed by Marge Bot
parent bb06af3f9b
commit 9482d392a1

View file

@ -100,7 +100,7 @@ lower_urb_read_logical_send_xe2(const brw_builder &bld, brw_urb_inst *urb)
bld.MOV(payload, handle);
/* The low 24-bits of the URB handle is a byte offset into the URB area.
* Add the (OWord) offset of the write to this value.
* Add the byte offset of the write to this value.
*/
if (urb->offset) {
bld.ADD(payload, payload, brw_imm_ud(urb->offset));
@ -221,7 +221,7 @@ lower_urb_write_logical_send_xe2(const brw_builder &bld, brw_urb_inst *urb)
bld.MOV(payload, handle);
/* The low 24-bits of the URB handle is a byte offset into the URB area.
* Add the (OWord) offset of the write to this value.
* Add the byte offset of the write to this value.
*/
if (urb->offset) {
bld.ADD(payload, payload, brw_imm_ud(urb->offset));