agx: Rename some SRs

I think these better represent what these SRs actually do.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
Asahi Lina 2024-01-17 20:57:23 +09:00 committed by Marge Bot
parent 28d34f6352
commit 5d0f1ca77f
2 changed files with 7 additions and 7 deletions

View file

@ -123,7 +123,7 @@ SR = enum("sr", {
8: 'dispatch_threads_per_threadgroup.x',
9: 'dispatch_threads_per_threadgroup.y',
10: 'dispatch_threads_per_threadgroup.z',
20: 'core_index',
20: 'core_id',
21: 'vm_slot',
48: 'thread_position_in_threadgroup.x',
49: 'thread_position_in_threadgroup.y',
@ -140,9 +140,9 @@ SR = enum("sr", {
81: 'thread_position_in_grid.y',
82: 'thread_position_in_grid.z',
124: 'input_sample_mask',
144: 'opfifo_cmd',
146: 'opfifo_data_l',
147: 'opfifo_data_h',
144: 'helper_op',
146: 'helper_arg_l',
147: 'helper_arg_h',
})
ATOMIC_OPC = enum("atomic_opc", {

View file

@ -365,9 +365,9 @@ agx_validate_sr(const agx_instr *I)
case AGX_SR_IS_ACTIVE_THREAD:
return coverage;
case AGX_SR_OPFIFO_CMD:
case AGX_SR_OPFIFO_DATA_L:
case AGX_SR_OPFIFO_DATA_H:
case AGX_SR_HELPER_OP:
case AGX_SR_HELPER_ARG_L:
case AGX_SR_HELPER_ARG_H:
return barrier;
default: